Skip to content

Commit

Permalink
update README with minor correction to db/seeds.rb example
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuity committed Mar 21, 2011
1 parent a0759b7 commit 79b5fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Expand Up @@ -177,7 +177,7 @@ You'll want to set up a default user so you can easily log in to test the app. Y

<pre>
puts 'EMPTY THE MONGODB DATABASE'
Mongoid.master.collections.reject { |c| c.name == 'system.indexes'}.each(&:drop)
Mongoid.master.collections.reject { |c| c.name =~ /^system/}.each(&:drop)
puts 'SETTING UP DEFAULT USER LOGIN'
user = User.create! :name => 'First User', :email => 'user@test.com', :password => 'please', :password_confirmation => 'please'
puts 'New user created: ' << user.name
Expand Down

0 comments on commit 79b5fe0

Please sign in to comment.