Exception: ForeignKeyValidation::Errors::UnknownRelationError
- Inherits:
-
StandardError
- Object
- StandardError
- ForeignKeyValidation::Errors::UnknownRelationError
- Defined in:
- lib/foreign_key_validation/errors.rb
Instance Method Summary collapse
-
#initialize(validate_with) ⇒ UnknownRelationError
constructor
A new instance of UnknownRelationError.
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 |