lib/mongo_mapper/plugins/associations.rb in mongo_mapper-0.7.5 vs lib/mongo_mapper/plugins/associations.rb in mongo_mapper-0.7.6

- old
+ new

@@ -82,10 +82,10 @@ self.instance_variable_set(association.ivar, proxy) end proxy end - + def save_to_collection(options = {}) super associations.each do |association_name, association| proxy = get_proxy(association) proxy.save_to_collection(options) if proxy.proxy_respond_to?(:save_to_collection)