Ruby on Rails
Friday, March 30, 2012
i don't know where "user_name" comes from but i think you are passing
in user_name where you search for the email.
"@user = User.find_by_email(user_name)"
change it to:
"@user = User.find_by_email(user_email)" or however your variable is
called
greets
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment