Displaying 2 results from an estimated 2 matches for "tagscontroller".
Did you mean:
tags_controller
2006 Jun 07
2
script/generate scaffold pluralizes class names
...ers 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?...
2007 Jul 18
16
Edge Rails namespaced routing
Hi,
I was wondering if anyone came across a similar scenario when working
with namespaced routes with edge rails.
Consider an application with controllers customers and products that
also have other resources.
map.resources :customers do |customer|
customer.resources :notes
customer.resources :tags
end
map.resources :products do |product|
customer.resources :notes
customer.resources