fix seed_once! functionality #3

Merged
pblesi merged 2 commits from master into master 2017-04-11 11:30:25 +00:00
Showing only changes of commit f7a07580a9 - Show all commits

View File

@ -74,7 +74,7 @@ module SeedFuMongoid
document.send :[]=, key, value
end
puts "#{@klass.name} #{document.attributes}"
puts "#{@klass.name} #{document.attributes}" unless SeedFuMongoid.quiet
document.upsert
end