Controllers are customarily named in the plural... UsersController, as opposed to UserController.
What does a "rake routes" report to you? rake routes >routes.lst Then peruse that file... You're mixing restful routes with "non-restful" ones I think, and earlier routes are evaluated before later in the routes.rb file, so your map.resources :user is probably masking the later definition for "profile". With restful routes, you can add custom routing with: map.resources :users, :member => {:profile => :get} (for a single user resource, there's a profile route and view, you provide the controller method, and the view) or map.resource :users, :collection => {:my_index => :get} (for a list of users, there's a my_index route and view, again you write the controller method and view) or combine them (both member and collection specs). Oh, and I think your :id => User.find(params[:id]) is simply :id => params[:id] no need for the find -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---