Exception: ROM::InvalidRelationName
- Inherits:
-
StandardError
- Object
- StandardError
- ROM::InvalidRelationName
- Defined in:
- core/lib/rom/constants.rb
Overview
Exception raised when a reserved keyword is used as a relation name
Instance Method Summary collapse
-
#initialize(relation) ⇒ InvalidRelationName
constructor
private
A new instance of InvalidRelationName.
Constructor Details
#initialize(relation) ⇒ InvalidRelationName
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidRelationName.
37 38 39 |
# File 'core/lib/rom/constants.rb', line 37 def initialize(relation) super("Relation name: #{relation} is a protected word, please use another relation name") end |