Class: ActiveFedora::Associations::Builder::HasAndBelongsToMany
- Inherits:
 - 
      CollectionAssociation
      
        
- Object
 - Association
 - CollectionAssociation
 - ActiveFedora::Associations::Builder::HasAndBelongsToMany
 
 
- Defined in:
 - lib/active_fedora/associations/builder/has_and_belongs_to_many.rb
 
Overview
:nodoc:
Constant Summary
Constants inherited from CollectionAssociation
CollectionAssociation::CALLBACKS
Constants inherited from Association
Class Method Summary collapse
Methods inherited from CollectionAssociation
define_callback, define_callbacks, define_extensions, wrap_scope
Methods inherited from Association
add_destroy_callbacks, better_name, build, build_scope, check_dependent_options, create_reflection, define_accessors, define_callbacks, define_extensions, define_readers, define_validations, define_writers, valid_dependent_options, wrap_scope
Class Method Details
.macro ⇒ Object
      3 4 5  | 
    
      # File 'lib/active_fedora/associations/builder/has_and_belongs_to_many.rb', line 3 def self.macro :has_and_belongs_to_many end  | 
  
.valid_options(options) ⇒ Object
      7 8 9  | 
    
      # File 'lib/active_fedora/associations/builder/has_and_belongs_to_many.rb', line 7 def self.() super + [:inverse_of, :solr_page_size] end  | 
  
.validate_options(options) ⇒ Object
      11 12 13 14 15  | 
    
      # File 'lib/active_fedora/associations/builder/has_and_belongs_to_many.rb', line 11 def self.() super raise ArgumentError, "You must specify a predicate for #{name}" unless [:predicate] raise ArgumentError, "Predicate must be a kind of RDF::URI" unless [:predicate].is_a?(RDF::URI) end  |