Exception: HasSiblings::ReflectionNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- HasSiblings::ReflectionNotFoundError
- Defined in:
- lib/has_siblings/errors.rb
Instance Method Summary collapse
-
#initialize(association_name, owner_class_name) ⇒ ReflectionNotFoundError
constructor
A new instance of ReflectionNotFoundError.
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 |