Resources and uncountable names

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs