daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest May 7th, 2016 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. current_user.update_attribute :admin, true
  2.    
  3. admin_user = User.new( :email => USER_EMAIL, :password => PASSWORD_STRING, :name => USER_NAME )
  4. admin_user.admin = true
  5. admin_user.save!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top