diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-22 09:40:39 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-22 09:40:39 -0300 |
commit | d59b2ab5c1dfc0e90d0c735a06c4607e7db07e65 (patch) | |
tree | 238a37bc01acbcebd7a463fc08ba8e813a4d79c5 /activesupport/lib/active_support/deprecation/method_wrappers.rb | |
parent | 8b173f3bc5484a33ab985fd1a556f1f744e82cd7 (diff) | |
parent | e5cd300becab8e05f4568a402e3fce4f4497733a (diff) | |
download | rails-d59b2ab5c1dfc0e90d0c735a06c4607e7db07e65.tar.gz rails-d59b2ab5c1dfc0e90d0c735a06c4607e7db07e65.tar.bz2 rails-d59b2ab5c1dfc0e90d0c735a06c4607e7db07e65.zip |
Merge branch 'pluck-multiple-columns'
Allow ActiveRecord::Relation#pluck to accept multiple columns. Returns an
array of arrays containing the type casted values:
Person.pluck(:id, :name)
# SELECT people.id, people.name FROM people
# [[1, 'David'], [2, 'Jeremy'], [3, 'Jose']]
Closes #6500
Diffstat (limited to 'activesupport/lib/active_support/deprecation/method_wrappers.rb')
0 files changed, 0 insertions, 0 deletions