Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irb(main):002:0> u = User.new(:username => 'user1')
- => #<User remember_token_expires_at=nil activation_code=nil updated_at=nil activated_at=nil salt=nil email=nil created_at=nil is_adviser=0 person_id=nil crypted_password=nil username="user1" group_id=nil remember_token=nil id=nil>
- irb(main):003:0> u.save
- ~ signup_notification sent to about =?utf-8?Q?Welcome_to_FreeGovernment.org.__Please_activate_your_account.=?=
- => false
- irb(main):004:0> User.first
- => nil
- irb(main):005:0>
Add Comment
Please, Sign In to add comment