8000 Fix db/seeds.rb · digideskio/demo.activeadmin.info@ce64587 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce64587

Browse files
committed
Fix db/seeds.rb
1 parent 6387fd8 commit ce64587

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

db/seeds.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,8 @@
77
# Mayor.create(:name => 'Daley', :city => cities.first)
88
#
99

10-
## Create default admin user
11-
#AdminUser.create! do |a|
12-
# a.email = 'admin@example.com'
13-
# a.password = a.password_confirmation = 'password'
14-
#end
15-
#
16-
## Create default user
17-
#User.create! do |u|
18-
# u.username = 'user'
19-
# u.email = 'user@example.com'
20-
# u.password = u.password_confirmation = 'password'
21-
#end
22-
2310
# Load each product from the yaml file
2411
YAML.load_file(File.expand_path("../seeds/products.yml", __FILE__)).each do |product|
25-
p product
2612
Product.create! product
2713
end
2814

0 commit comments

Comments
 (0)
0