I have odd problem:
After starting server I got this error:
undefined local variable or method `new_media_path'
To repair this i must go to routes.rb and change
resources :media
to
resource :media
and again to
resources :media
It’s annoying. Any ideas to solve this?
You should try
new_medium_pathbecausemediais plural form ofmediumIf you run
rake routesyou will see all available routes.