On Jan 24, 10:19 pm, Edward Stembler <[email protected]> wrote:
> resources :projects do > resources :analyses > end > > For example: /projects/2/analyses/3. The new works fine: > projects/2/analyses/new > > Almost everything works, except for the analysis edit: > projects/2/analyses/3/edit > > It returns the following error: > > NoMethodError in Analyses#edit > undefined method `project_analyasis_path’ > I think rails is failing to pluralize/singularize your class names. (try pluralizing your class name from the console). If this is the case you can add an inflection rule that will add the correct plurals for you (there should be examples in config/initializers/inflector.rb Fred > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

