add quiet flag to seed output

This commit is contained in:
Patrick Blesi 2014-12-14 23:17:10 -06:00
parent 6cac392486
commit f7a07580a9

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