Exception: ActiveFedora::InverseOfAssociationNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/active_fedora/associations.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(reflection, associated_class = nil) ⇒ InverseOfAssociationNotFoundError


6
7
8
# File 'lib/active_fedora/associations.rb', line 6

def initialize(reflection, associated_class = nil)
  super("Could not find the inverse association for #{reflection.name} (#{reflection.options[:inverse_of].inspect} in #{associated_class.nil? ? reflection.class_name : associated_class.name})")
end