Rails 3: named parameter routes break link_to?

Your resource :users is inside the scope, so you don't have the users/:id route You could try this: scope ":group/:subgroup/" do devise_for :users end resources :users I'm not sure if the scope has a shallow => true option (I think it does and you should probably use it) Hope that helps.

Your resource :users is inside the scope, so you don't have the /users/:id route. You could try this: scope ":group/:subgroup/" do devise_for :users end resources :users I'm not sure if the scope has a shallow => true option (I think it does and you should probably use it). Hope that helps.

The problem is you can't reach an user without passing in a group and a subgroup. Reading your error it's possible to understand that rails is trying to convert your current_user to the group.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions