KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a database that has stored information of some users. I know for example: User.find(1) will return the user with id:1 What should I call to find a user by email? I searched a lot but could not find anything. I also tried User.find(:email => "xyz@abc.com") but it doesn't work.
Tags (comma-separated)
Save Edits
Cancel