add quiet flag to seed output
This commit is contained in:
parent
6cac392486
commit
f7a07580a9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user