lib/crosstie/templates/seeds.rb in crosstie-0.0.6 vs lib/crosstie/templates/seeds.rb in crosstie-0.0.7
- old
+ new
@@ -1,8 +1,4 @@
append_file "db/seeds.rb", <<-EOF
user = User.create! username: "admin", email: "admin@example.com", password: "password"
-Role::USER_ROLES.each do |role|
- user.grant role
-end
puts "sign in with:\n\tusername: admin\n\tpassword: password"
EOF
-rake "db:seed"