Module: ActiveRecord::ChainRelation
- Defined in:
- lib/everywhere/chain.rb
Defined Under Namespace
Modules: LikeBuilder, NotBuilder, NotLikeBuilder
Instance Method Summary
collapse
Instance Method Details
#like(opts, *rest) ⇒ Object
29
30
31
|
# File 'lib/everywhere/chain.rb', line 29
def like(opts, *rest)
extend(LikeBuilder).where(opts, *rest).dup
end
|
#not(opts, *rest) ⇒ Object
25
26
27
|
# File 'lib/everywhere/chain.rb', line 25
def not(opts, *rest)
extend(NotBuilder).where(opts, *rest).dup
end
|
#not_like(opts, *rest) ⇒ Object
33
34
35
|
# File 'lib/everywhere/chain.rb', line 33
def not_like(opts, *rest)
extend(NotLikeBuilder).where(opts, *rest).dup
end
|