This project is archived and is in readonly mode.
Singular option unavailable in the new Routes
-
Andrew White
I saw it was missing the other day and thought about adding a patch, but I got the impression that the preferred method was to add a custom inflection.
I'll add a patch this evening and leave it up to core to decide what to do with it.
-
DHH
I'm not sure I understand the value of this. It looks like all this does is change the name of the named route. What's the purpose here?
-
Rizwan Reza
It fixes it when the singular-plural algorithm fails. It's your call. :)
-
DHH
Ahh, okay. Well, you really should fix that in config/initializers/inflections.rb. Otherwise it's not going to be consistent in the rest of your app. I don't think we need it here unless there are other arguments for it.
-
Rizwan Reza
Alright, thanks!
-
Rizwan Reza
- State changed from open to wontfix