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
admin = User.create(
:first_name => 'admin',
:last_name => 'admin',
:email => 'admin@entrydns.com',
:password => 'garlik1',
:password_confirmation => 'garlik1'
@ -14,7 +16,9 @@ for name in Settings.host_domains
end
# sample user
user = User.create(
user = User.create!(
:first_name => 'user',
:last_name => 'user',
:email => 'user@app.com',
:password => 'useruser',
:password_confirmation => 'useruser'

Loading…
Cancel
Save