Exception: Arel::Visitors::UnsupportedVisitError

Inherits:
StandardError
  • Object
show all
Defined in:
activerecord/lib/arel/visitors/to_sql.rb

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ UnsupportedVisitError

Returns a new instance of UnsupportedVisitError.



6
7
8
# File 'activerecord/lib/arel/visitors/to_sql.rb', line 6

def initialize(object)
  super "Unsupported argument type: #{object.class.name}. Construct an Arel node instead."
end