Module: Arel::Predications

Defined in:
lib/mysql/search/extensions/arel_against.rb

Overview

Adds a method to the Arel::Nodes::Node class to allow for full-text search queries.

Instance Method Summary collapse

Instance Method Details

#against(other) ⇒ Object



24
25
26
# File 'lib/mysql/search/extensions/arel_against.rb', line 24

def against(other)
  Arel::Nodes::Against.new(self, quoted_node(other))
end