aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relation
Commit message (Expand)AuthorAgeFilesLines
* active_record: Type cast booleans and durations for string columns.Dylan Thacker-Smith2014-07-061-1/+32
* Remove duplicated parameter check on #where!Sergey Alekseev2014-05-231-1/+1
* Merge pull request #15078 from nbudin/fix_merger_filter_binds_comparison_masterRafael Mendonça França2014-05-141-0/+5
|\
| * Make filter_binds filter out symbols that are equal to stringsNat Budin2014-05-141-0/+5
|/
* Modify assert conditions not to be affectedYasuo Honda2014-05-121-2/+3
* Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-1/+1
* Merge branch 'master' into adequaterecordAaron Patterson2014-04-251-1/+6
|\
| * select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-211-1/+6
* | remove the bind substitution visitor. to_sql should never return bind valuesAaron Patterson2014-04-091-3/+1
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-071-3/+11
|\|
| * Build the reverse_order on its proper method.Lauro Caetano2014-04-071-3/+11
* | Merge branch 'master' into adequaterecordAaron Patterson2014-03-252-6/+6
|\|
| * use ARel factory methods for building AST nodesAaron Patterson2014-03-242-17/+17
* | Merge branch 'master' into adequaterecordAaron Patterson2014-02-171-0/+4
|\|
| * Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-291-0/+4
* | Merge branch 'master' into set_bindsAaron Patterson2014-01-141-2/+2
|\|
* | remove dead codeAaron Patterson2014-01-141-3/+0
* | adjust AST tests to respect bind valuesAaron Patterson2014-01-141-21/+61
* | where uses bind values so we don't need to manually create themAaron Patterson2014-01-141-11/+3
* | remove test that does not apply anymoreAaron Patterson2014-01-141-12/+1
|/
* raise `ArgumentError` exception if `Model.where.not` is called with `nil` arg...Kuldeep Aggarwal2013-12-301-0/+6
* 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