a guest May 7th, 2016 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- current_user.update_attribute :admin, true
- admin_user = User.new( :email => USER_EMAIL, :password => PASSWORD_STRING, :name => USER_NAME )
- admin_user.admin = true
RAW Paste Data