laverie_app/db/seeds.rb
2014-09-25 15:26:48 +02:00

13 lines
710 B
Ruby

# -*- encoding : utf-8 -*-
# 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(:username => "Nico", :email => "info@nicolasbally.com", :password => "123456", :password_confirmation => "123456", :name => "Bally", :firstname => "Nicolas")
User.create(:username => "Anais", :email => "anaelac@gmail.com", :password => "123456", :password_confirmation => "123456", :name => "Lacombe", :firstname => "Anaïs")