Check the params[:user_id] i think it was nil Ahmy Yulrizka
On Tue, Mar 27, 2012 at 7:19 PM, Neil Bye <[email protected]> wrote: > @user = User.find(params[:user_id]) -- 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 [email protected]. 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.

