Module: ActiveRecord::ChainRelation::LikeBuilder

Defined in:
lib/everywhere/chain.rb

Instance Method Summary collapse

Instance Method Details

#build_where(opts, other = []) ⇒ Object



14
15
16
# File 'lib/everywhere/chain.rb', line 14

def build_where(opts, other = [])
  super.map {|r| Arel::Nodes::Matches.new r.left, r.right}
end