Exception: Arel::Visitors::ElasticsearchBase::UnsupportedVisitError

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

Instance Method Summary collapse

Constructor Details

#initialize(method_name) ⇒ UnsupportedVisitError

Returns a new instance of UnsupportedVisitError.



9
10
11
# File 'lib/arel/visitors/elasticsearch_base.rb', line 9

def initialize(method_name)
  super "Unsupported method: '#{method_name}'. Construct an Arel node instead!"
end