fix seed_once! functionality #3
@ -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