rails/activerecord/test/cases/relation
Tsutomu Kuroda c1d9934447 Handle aliased attributes in AR::Relation#select, #order, etc.
With this we can write `Model#select(:aliased)`, `Model#order(:aliased)`,
`Model#reoder(aliased: :desc)`, etc.

Supplementary work to 54122067acaad39b277a5363c6d11d6804c7bf6b.
2014-01-29 09:16:46 +09:00
..
delegation_test.rb Create a blacklist to disallow mutator methods to be delegated to Array. 2013-12-17 13:43:10 -02:00
merging_test.rb use arel nodes to represent non-string order_values. 2013-11-19 17:40:21 +01:00
mutation_test.rb Handle aliased attributes in AR::Relation#select, #order, etc. 2014-01-29 09:16:46 +09:00
predicate_builder_test.rb Change test_registering_new_handlers and test_count_on_invalid_columns_raises 2013-08-02 05:55:31 +09:00
where_chain_test.rb raise ArgumentError exception if Model.where.not is called with nil argument 2013-12-30 01:53:02 +05:30
where_test.rb Better support for where() conditions that use an association name. 2013-12-16 14:16:15 -08:00