Method: Rql::Scope::BlockMethods#pluck
- Defined in:
- lib/rql/scope/block_methods.rb
#pluck { ... } ⇒ Array
Plucks the specified attributes, creating and array of values
24 25 26 |
# File 'lib/rql/scope/block_methods.rb', line 24 def pluck(&block) scope.pluck(*build_attributes(true, &block)) end |