I'm working with Rails 5 an I just have created a Media
model using scaffold tool.
rails g scaffold media name:string
And I got different names and routes and view etc...
It was not right pluralising, so when I rake routes
I got medium
unexpected routes and because of that I got different problems in the views.
When I try to use <%= form_for @media do ..
I got complain about no method media_index_path
.
How can I get it fixed and working well?