I just ran this..
rails g scaffold shared_drive drive_name:string drive_path:string security_group_read:string security_group_modify:string
When I open the route localhost:3000/shared_drives/new
the header reads New Shared Drife
When I try to create a new object on this page, I get this error
ActionController::ParameterMissing in SharedDrivesController#create
param is missing or the value is empty: shared_drife
What is going on?!?! Why did Rails change the name of my model?
It's about "Inflections". You can find more information here. It discussed earlier in issues of rails/rails and here is the solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With