Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = User.new()
- user.assign_attributes({:email => "trytry@gmail.com", :password => "test-33", :password_confirmation => "test-33", :is_active => true}, :without_protection => true).
- user.save()
Add Comment
Please, Sign In to add comment