1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Carlos Antonio da Silva 6aae17e856 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
2012-06-22 09:15:43 -03:00
..
active_record/connection_adapters Simplify AR configuration code. 2012-06-15 19:15:36 +01:00
assets Added test to illustrate bad binary blobs. 2012-01-31 13:45:00 -06:00
cases Refactor pluck with multiple columns 2012-06-22 09:15:43 -03:00
fixtures Improve the derivation of HABTM assocation join table names 2012-06-22 06:27:11 +01:00
migrations stop depending on the filesystem for interleaved migration tests 2012-01-13 14:33:59 -08:00
models Add some coverage for AR serialization with serializable_hash 2012-06-22 08:28:03 -03:00
schema Improve the derivation of HABTM assocation join table names 2012-06-22 06:27:11 +01:00
support Remove IdentityMap 2012-03-13 20:08:54 -03:00
.gitignore
config.example.yml
config.rb