lib/active_fedora/orders/association.rb in activefedora-aggregation-0.9.0 vs lib/active_fedora/orders/association.rb in activefedora-aggregation-0.10.0

- old
+ new

@@ -10,10 +10,11 @@ "#<ActiveFedora::Orders::Association:#{object_id}>" end def reader(*args) @proxy ||= ActiveFedora::Orders::CollectionProxy.new(self) + @null_proxy ||= ActiveFedora::Orders::CollectionProxy.new(self) super end # Meant to override all nodes with the given nodes. # @param [Array<ActiveFedora::Base>] nodes Nodes to set as ordered members @@ -142,13 +143,13 @@ def list_container_association owner.association(options[:through]) end def unordered_association - owner.association(ordered_reflection_name) + owner.association(unordered_reflection_name) end - def ordered_reflection_name - reflection.ordered_reflection.name + def unordered_reflection_name + reflection.unordered_reflection.name end end end