diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-19 22:12:01 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-22 09:15:43 -0300 |
commit | 6aae17e85613fe8c2816ba278f9348f168692479 (patch) | |
tree | 3591e04710a81fe3fcc0ea142bc53bed446fbb33 /guides/source/2_3_release_notes.textile | |
parent | 2e379c1e63b3646f9aff4d7e242ca37b4a57f529 (diff) | |
download | rails-6aae17e85613fe8c2816ba278f9348f168692479.tar.gz rails-6aae17e85613fe8c2816ba278f9348f168692479.tar.bz2 rails-6aae17e85613fe8c2816ba278f9348f168692479.zip |
Refactor pluck with multiple columns
Ensure it works with mix of symbols and strings, and with a select
clause possibly containing more than one column.
Also remove support for pluck with an array of columns, in favor of
passing the list of attributes:
Model.pluck(:a, :b)
See comments: https://github.com/rails/rails/pull/6500#issuecomment-6030292
Diffstat (limited to 'guides/source/2_3_release_notes.textile')
0 files changed, 0 insertions, 0 deletions