lib/syncify/sync.rb in syncify-0.1.0 vs lib/syncify/sync.rb in syncify-0.1.1

- old
+ new

@@ -47,9 +47,10 @@ identify_polymorphic_associated_records(target, Array.wrap(association)) end end else target = root.__send__(polymorphic_association.property) + next if target.nil? type = polymorphic_association.associations.keys.detect do |association_type| target.is_a?(association_type) end associations = polymorphic_association.associations[type] identify_associated_records(target, normalized_associations(associations))