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
|
document.send :[]=, key, value
|
||||||
end
|
end
|
||||||
|
|
||||||
puts "#{@klass.name} #{document.attributes}"
|
puts "#{@klass.name} #{document.attributes}" unless SeedFuMongoid.quiet
|
||||||
|
|
||||||
document.upsert
|
document.upsert
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user