aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/uniqueness_validation_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-19 22:12:01 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-06-22 09:15:43 -0300
commit6aae17e85613fe8c2816ba278f9348f168692479 (patch)
tree3591e04710a81fe3fcc0ea142bc53bed446fbb33 /activerecord/test/cases/validations/uniqueness_validation_test.rb
parent2e379c1e63b3646f9aff4d7e242ca37b4a57f529 (diff)
downloadrails-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 'activerecord/test/cases/validations/uniqueness_validation_test.rb')
0 files changed, 0 insertions, 0 deletions