Method: Rql::Scope::BlockMethods#select
- Defined in:
- lib/rql/scope/block_methods.rb
#select { ... } ⇒ Rql::Scope::RqlScope
Specifies attributes to be selected from the database
16 17 18 |
# File 'lib/rql/scope/block_methods.rb', line 16 def select(&block) scope.select(*build_attributes(true, &block)) end |