aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* Create a blacklist to disallow mutator methods to be delegated to `Array`.Lauro Caetano2013-12-171-4/+11
* Better support for `where()` conditions that use an association name.Martin Emde2013-12-161-0/+34
* Add a bunch of Relation -> Array delegate methods to the whitelist. This won'...Jeremy Kemper2013-12-121-28/+14
* Use `public_send` instead of just use `send`.Lauro Caetano2013-12-121-4/+4
* Use a whitelist to delegate methods to arrayLauro Caetano2013-12-121-57/+32
* Merge pull request #13029 from akshay-vishnoi/documentationYves Senn2013-11-251-4/+4
|\
| * `delgated` => `delegated`Akshay Vishnoi2013-11-251-4/+4
* | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-1/+1
* | use arel nodes to represent non-string `order_values`.Yves Senn2013-11-192-5/+13
|/
* Address test_merging_where_relations failure by adding `order("posts.id")`Yasuo Honda2013-11-181-1/+1
* fix weird Emacs auto indentation. [ci skip]Yves Senn2013-11-131-8/+8
* tests for merging Relations of different classes.Yves Senn2013-11-131-0/+19
* move Relation#merge tests into separate file.Yves Senn2013-11-131-0/+131
* Avoid sorting an Array including objects from different ClassesAkira Matsuda2013-11-111-1/+1
* Load test fixtures where data are neededAkira Matsuda2013-11-111-0/+2
* A tiny grammatical fixAkira Matsuda2013-11-111-1/+1
* Delegate #rewhere to all on the class like all other relation methodsDavid Heinemeier Hansson2013-11-021-0/+4
* Added ActiveRecord::QueryMethods#rewhere which will overwrite an existing, na...David Heinemeier Hansson2013-11-021-0/+30
* Allow methods arity below -1 in assert_responds.Federico Ravasio2013-10-081-3/+4
* Merge pull request #12129 from Empact/deprecate-array-bang-delegationRafael Mendonça França2013-09-122-0/+245
|\
| * Deprecate the delegation of Array bang methods in ActiveRecord::DelegationBen Woosley2013-09-041-0/+97
| * Pull the RelationMutationTests from cases/relation_test to cases/relation/mut...Ben Woosley2013-09-031-0/+139
|/
* check class hierarchy with is_a? in PredicateBuilder.expandMikhail Dieterle2013-08-271-0/+25
* Change test_registering_new_handlers and test_count_on_invalid_columns_raisesYasuo Honda2013-08-021-1/+1
* Add ability to specify how a class is converted to Arel predicatesgrif2013-07-281-0/+14
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-0/+8
* stop calling to_sym when building arel nodes [CVE-2013-1854]Aaron Patterson2013-03-151-10/+15
* Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric"Steve Klabnik2013-02-271-25/+0
* Reverting e170014113 (Change behaviour with empty hash in where clause)Guillermo Iguaran2013-02-081-6/+2
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-3/+1
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-1/+3
* Change behaviour with empty hash in where clauserobertomiranda2013-02-081-2/+6
* active_record: Quote numeric values compared to string columns.Dylan Smith2013-02-071-0/+25
* reduce the number of queries on IN clauses, fix relation queries in `where`Aaron Patterson2013-01-241-1/+14
* Fix syntax error and remove duplicated testCarlos Antonio da Silva2013-01-081-6/+4
* * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealin...Aaron Patterson2013-01-081-0/+6
* Revert "Merge branch 'master-sec'"Jeremy Kemper2013-01-081-6/+0
* * Strip nils from collections on JSON and XML posts. [CVE-2013-0155] * dealin...Aaron Patterson2013-01-071-0/+6
* Rollback where.like and where.not_likeCarlos Antonio da Silva2012-12-071-17/+2
* Document the types of arguments accepted by AR#notclaudiob2012-12-071-0/+12
* Fix where.not with in clauseCarlos Antonio da Silva2012-12-071-1/+1
* Move where with blank conditions test to the correct where tests fileCarlos Antonio da Silva2012-12-071-0/+6
* Relation.where with no args can be chained with not, like, and not_likeAkira Matsuda2012-11-301-0/+78
* fix querying with an empty hashDamien Mathieu2012-09-191-1/+10
* Fix nested association referencesJon Leighton2012-09-121-38/+31
* Accept belongs_to assoc. keys in ActiveRecord queriesbeerlington2012-09-111-1/+69
* predicate builder should not recurse for determining where columns.Aaron Patterson2012-05-301-0/+19