Permalink
Browse files

Seed users

  • Loading branch information...
1 parent fa77bb1 commit 6bfffb07c5630060de4c8d543bb442b92b9c5ce8 @dskecse committed Mar 4, 2014
Showing with 4 additions and 7 deletions.
  1. +4 −7 db/seeds.rb
View
@@ -1,7 +1,4 @@
-# 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' }])
-# Mayor.create(name: 'Emanuel', city: cities.first)
+User.create!(name: 'Michael Hartl',
+ email: 'mhartl@example.com',
+ password: 'foobar',
+ password_confirmation: 'foobar')

0 comments on commit 6bfffb0

Please sign in to comment.