method

select

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: CollectionAssociation
select(*fields) 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/associations/collection_association.rb, line 86
      def select(*fields)
        if block_given?
          load_target.select.each { |e| yield e }
        else
          scope.select(*fields)
        end
      end
Register or log in to add new notes.