Exception: HasSiblings::ReflectionNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/has_siblings/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(association_name, owner_class_name) ⇒ ReflectionNotFoundError

Returns a new instance of ReflectionNotFoundError.



3
4
5
# File 'lib/has_siblings/errors.rb', line 3

def initialize(association_name, owner_class_name)
  super("Could not find the association #{association_name} in model #{owner_class_name}")
end