Exception: Arel::Visitors::UnsupportedVisitError
- Inherits:
-
StandardError
- Object
- StandardError
- Arel::Visitors::UnsupportedVisitError
- Defined in:
- lib/arel/visitors/to_sql.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ UnsupportedVisitError
constructor
A new instance of UnsupportedVisitError.
Constructor Details
#initialize(object) ⇒ UnsupportedVisitError
Returns a new instance of UnsupportedVisitError.
9 10 11 |
# File 'lib/arel/visitors/to_sql.rb', line 9 def initialize(object) super "Unsupported argument type: #{object.class.name}. Construct an Arel node instead." end |