lib/active_fedora/aggregation/builder.rb in activefedora-aggregation-0.3.0 vs lib/active_fedora/aggregation/builder.rb in activefedora-aggregation-0.4.0
- old
+ new
@@ -1,11 +1,8 @@
module ActiveFedora::Aggregation
class Builder < ActiveFedora::Associations::Builder::CollectionAssociation
include ActiveFedora::AutosaveAssociation::AssociationBuilderExtension
self.macro = :aggregation
- self.valid_options += [
- :type_validator
- ]
def build
reflection = super
model.belongs_to :head, predicate: ::RDF::Vocab::IANA['first'], class_name: 'ActiveFedora::Aggregation::Proxy'
model.belongs_to :tail, predicate: ::RDF::Vocab::IANA.last, class_name: 'ActiveFedora::Aggregation::Proxy'