151 152 153
# File 'lib/mongo_mapper/support.rb', line 151 def self.from_mongo(value) Set.new(value || []) end
147 148 149
# File 'lib/mongo_mapper/support.rb', line 147 def self.to_mongo(value) value.to_a end