lib/replication/modules/association.rb in replication-0.3.2 vs lib/replication/modules/association.rb in replication-0.4.0
- old
+ new
@@ -22,10 +22,10 @@
attributes_from_association.delete('id')
attributes_from_association.delete(association_reflection.foreign_key)
@strand_attributes.merge!({
"#{a}_attributes".to_sym => self.send(association_reflection.name).select(attributes_from_association).to_a.map(&:serializable_hash)
})
- end
+ end
end
@strand_attributes
end
end