Skip to content

Commit

Permalink
Add admin seed data
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonmcdonald committed Jun 30, 2015
1 parent db4e5f8 commit 7703100
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions db/seeds.rb
Original file line number Diff line number Diff line change
@@ -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!({:email => ENV["ADMIN_EMAIL"], :admin => true, :password => ENV["ADMIN_PASS"], :password_confirmation => ENV["ADMIN_PASS"] })

0 comments on commit 7703100

Please sign in to comment.