Un peu plus de données pour mieux développer :)
This commit is contained in:
parent
4081c4595f
commit
ddcb7d159e
@ -8,6 +8,8 @@
|
||||
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
||||
# Mayor.create(name: 'Emanuel', city: cities.first)
|
||||
|
||||
City.create name: 'Rennes'
|
||||
Region.create name: 'Bretagne'
|
||||
Region.create name: 'Ma première région'
|
||||
User.create login: 'admin@example.com', email: 'admin@example.com', password: 'password'
|
||||
AdminUser.create email: 'admin@example.com', password: 'password'
|
||||
|
Loading…
Reference in New Issue
Block a user