Sha256: d6a3e3bc6e4af02b5f312be514b40319e120f597287407a7e283bf362286ae7a
Contents?: true
Size: 604 Bytes
Versions: 5
Compression:
Stored size: 604 Bytes
Contents
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Major.create(:name => 'Daley', :city => cities.first) # Setup initial user and make this user an administrator user = User.create( :login => "admin", :email => "admin@example.com", :password => "password", :password_confirmation => "password" ) Lockdown::System.make_user_administrator(user)
Version data entries
5 entries across 5 versions & 1 rubygems