Flowdock
method

select

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
select(value = Proc.new) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/relation/query_methods.rb, line 40
    def select(value = Proc.new)
      if block_given?
        to_a.select {|*block_args| value.call(*block_args) }
      else
        relation = clone
        relation.select_values += Array.wrap(value)
        relation
      end
    end
Register or log in to add new notes.