Method: Rql::Scope::BlockMethods#where
- Defined in:
- lib/rql/scope/block_methods.rb
#where { ... } ⇒ Rql::Scope::RqlScope
Filters scope based on specified conditions
8 9 10 |
# File 'lib/rql/scope/block_methods.rb', line 8 def where(&block) scope.where(scope.eval_rql(&block).arel) end |