Exception: Error::MissingAssociation

Inherits:
StandardError
  • Object
show all
Defined in:
lib/automatic_record/error/missing_association.rb

Instance Method Summary collapse

Constructor Details

#initialize(assoc_name) ⇒ MissingAssociation

Returns a new instance of MissingAssociation.



3
4
5
# File 'lib/automatic_record/error/missing_association.rb', line 3

def initialize(assoc_name)
  super("Attempted to auto_create non-existent :#{assoc_name} association")
end