Displaying 1 result from an estimated 1 matches for "effe3a9a1b3131e75c4507fc92eb01d5".
2007 Jan 10
0
nested resources with nested controllers
...ing
# routes.rb
map.resources :projects do |project|
project.resources :users
end
After creating a project and trying to list it''s users by using
/projects/1/users it will give the error:
Processing ApplicationController#index (for 127.0.0.1 at 2007-01-10
20:31:39) [GET]
Session ID: effe3a9a1b3131e75c4507fc92eb01d5
Parameters: {"project_id"=>"1", "action"=>"index",
"controller"=>"users"}
NameError (uninitialized constant UsersController):
//vendor/rails/activesupport/lib/active_support/dependencies.rb:267:in
''load_missing_constan...