D john
Joined
910 Experience
9 Lessons Completed
0 Questions Solved
Activity
User.where(email: "me@mail.com").first_or_initialize seems to throw an error, - No such method in Active Record.
But
User.first_or_initialize_by(email: "me@mail.com") seems to work :)