Sha256: ce80647d2c616dbc2445836e04d08d6b9399a081dd9c406b7899bed30cb0c344
Contents?: true
Size: 492 Bytes
Versions: 65
Compression:
Stored size: 492 Bytes
Contents
class CreateAdminUser < ActiveRecord::Migration def self.up # TODO: Change the password u = User.create(:password => "password", :password_confirmation => "password", :first_name => "Administrator", :last_name => "User", :email => "administrator@a.com", :login => "admin") Lockdown::System.make_user_administrator(u) end def self.down #Nothing to see here... end end
Version data entries
65 entries across 65 versions & 6 rubygems