I’m a rails & ruby nuby, and this is my first post to the list.
Here’s my environment in case it helps diagnose my problem:
Active Record version
Action Pack version
Action Web Service version
Action Mailer version
Active Support version
I did “rails myapp” and inserted “scaffold :foo” into the
controllers, which worked fine but I wanted to have the scaffold code
generated so I could see it and tweak it. So I did a “script/generate
scaffold foo” and it generated new views and controllers with
scaffolding in them, but now the controllers and views are all
pluralized: my user controller became users, my tag controller became
tags, etc. So looking at my file tree I wound up with two files names
tag_controller.rb & tags_controller.rb - inside the first line says
“TagsController” not “TagController” like when rails does it. Is this
a bug? Why would the generate script pluralize things just because I
want the scaffolding code inserted?
Is this a problem- will I wind up with other problems because my
controllers/views/who-knows-what-else are plural now? Every code
example I’ve read shows the controllers all being in the singular.
Any advice is appreciated!