Exception: ForeignKeyValidation::Errors::UnknownRelationError

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

Instance Method Summary collapse

Constructor Details

#initialize(validate_with) ⇒ UnknownRelationError

Returns a new instance of UnknownRelationError.



17
18
19
# File 'lib/foreign_key_validation/errors.rb', line 17

def initialize(validate_with)
  super("Unknown relation in #{validate_with}!")
end