Exception: ActiveRecordAliasedJoins::UnsupportedReflectionError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecordAliasedJoins::UnsupportedReflectionError
- Defined in:
- lib/active_record_aliased_joins.rb
Overview
UnsupportedReflectionError
Instance Method Summary collapse
-
#initialize(reflection = nil) ⇒ UnsupportedReflectionError
constructor
A new instance of UnsupportedReflectionError.
Constructor Details
#initialize(reflection = nil) ⇒ UnsupportedReflectionError
Returns a new instance of UnsupportedReflectionError.
12 13 14 15 16 17 18 |
# File 'lib/active_record_aliased_joins.rb', line 12 def initialize(reflection = nil) if reflection super("Reflection not supported #{reflection.name.inspect}") else super('Reflection not supported error.') end end |