Sha256: 6e0c6ad1ed6d9063468f8929e54e6f01187ad32a7eda81485a268d61b230ba57
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
model User find_by :full_name # Values of attributes listed here will be set even # if they exist already in the matching database object. # # Other attributes in the seed data will be treated as a default value, # i.e. they will only be set if the matching database object does not exist # or its corresponding attribute is not set. # # Usage: # force :value # or: # force [:value, :description] # # default is: no fields are forced #force :value seeds [ { full_name: 'admin', roles: [:user, :admin], emails:[{ email: 'admin@admin', confirmed: true }], authentications:[{ provider: :password, uid: 'admin@admin', email_id: 'admin@admin', password: 'admin', password_confirmation: 'admin' }] } ]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aerogel-admin-1.4.4 | db/seed/development/admin_users.seed |