search for: new_user_rol

Displaying 2 results from an estimated 2 matches for "new_user_rol".

Did you mean: new_user_role
2010 Oct 27
0
Help with routes
...e (clearance) <- role type arrangement where: User has_many :roles, :through => :clearances has_many :clearances Clearance belongs_to :role belongs_to :user and Role has_many :users, :through => :clearances has_many :clearances What I am trying to do is to link through new_user_role_path(@user). But I get the following error when I try: ActionController::RoutingError: No route matches {:action=>"new", :controller=>"user_roles"} The thing is that when I run rake routes I see this: new_user_role GET /users/:user_id/role/new(.:format)...
2010 Feb 16
0
Strange routing(?) Issue
...user_roles GET /users/:user_id/ roles(.:format) {:action=>"index", :controller=>"roles"} POST /users/:user_id/ roles(.:format) {:action=>"create", :controller=>"roles"} new_user_role GET /users/:user_id/roles/ new(.:format) {:action=>"new", :controller=>"roles"} edit_user_role GET /users/:user_id/roles/:id/ edit(.:format) {:action=>"edit", :controller=>"roles"}...