Topic: Problem using model named "Media" or "Multimedia"

I trying to make a model named Multimedia, I created it using scaffold Multimedia, but I have problems with me controller being named Multimedia instead of Multimedium, so I destroyed it and create Media, but now I have problems with this

undefined method `media_index_path' for #<#<Class:0x4f52b08>:0x4f509c0

It should be named medias instead of media but I dont know how to solve it

Re: Problem using model named "Media" or "Multimedia"

The keyword is "inflections", see your config/initializers/inflections.rb and this as a start: http://blog.thefrontiergroup.com.au/201 … n-rails-3/

Re: Problem using model named "Media" or "Multimedia"

worked great, thanks for your help

Last edited by jtomasrl (2011-07-07 02:13:37)