Module: ActiveRecord::ChainRelation::NotLikeBuilder

Defined in:
lib/everywhere/chain.rb

Instance Method Summary collapse

Instance Method Details

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



20
21
22
# File 'lib/everywhere/chain.rb', line 20

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