Browse Source

seed names

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
90c739b88c
  1. 6
      db/seeds.rb

6
db/seeds.rb

@ -1,6 +1,8 @@
# an user for administrative purposes # an user for administrative purposes
admin = User.create( admin = User.create(
:first_name => 'admin',
:last_name => 'admin',
:email => 'admin@entrydns.com', :email => 'admin@entrydns.com',
:password => 'garlik1', :password => 'garlik1',
:password_confirmation => 'garlik1' :password_confirmation => 'garlik1'
@ -14,7 +16,9 @@ for name in Settings.host_domains
end end
# sample user # sample user
user = User.create( user = User.create!(
:first_name => 'user',
:last_name => 'user',
:email => 'user@app.com', :email => 'user@app.com',
:password => 'useruser', :password => 'useruser',
:password_confirmation => 'useruser' :password_confirmation => 'useruser'

Loading…
Cancel
Save