Exception: Chewy::InvalidJoinFieldType
- Defined in:
- lib/chewy/errors.rb
Instance Method Summary collapse
-
#initialize(join_field_type, join_field_name, relations) ⇒ InvalidJoinFieldType
constructor
A new instance of InvalidJoinFieldType.
Constructor Details
#initialize(join_field_type, join_field_name, relations) ⇒ InvalidJoinFieldType
Returns a new instance of InvalidJoinFieldType.
35 36 37 |
# File 'lib/chewy/errors.rb', line 35 def initialize(join_field_type, join_field_name, relations) super("`#{join_field_type}` set for the join field `#{join_field_name}` is not on the :relations list (#{relations})") end |