It's Rails convention that controllers should use the plural name of the model, like Product*s*Controller
You could probably make it work by using the singular name of the model, but it would go against convention and wouldn't be very easy to maintain. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/wBK5-3qjDqwJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.