Forum: Ruby on Rails Resources and uncountable names

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
98b3b41b2fa030c78579d8e693acf447?d=identicon&s=25 Mauro Cicio (maurocicio)
on 2007-03-03 09:18
It seems that the single resource has introduced an issue of with
uncountable names, like 'fish'.

Does anybody know more about that?

The experiment is very simple:
Just try:

./script/generate scaffold_resource fish name:string

do your db migration and the hitting 'new' generates:

fish_url failed to generate from {:controller=>"fish", :action=>"show"}
- you may have ambiguous routes, or you may need to supply additional
parameters for this route.  content_url has the following required
parameters: ["fish", :id] - are they all satisifed?
This topic is locked and can not be replied to.