aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert change on ActiveRecord::Relation#order method that prepends newRafael Mendonça França2013-07-291-7/+7
* reorder bind parameters when merging relationsAaron Patterson2013-07-151-0/+17
* Revert "Merge pull request #11299 from arunagw/disable_implicit_join_referenc...Yves Senn2013-07-051-0/+6
* Remove deprecated `ActiveRecord::Base.disable_implicit_join_references=`.Arun Agrawal2013-07-041-6/+0
* fix to_sql output on eager loaded relationsAaron Patterson2013-07-021-0/+8
* remove deprecated implicit join references.Yves Senn2013-06-291-23/+2
* Remove depreacted findersŁukasz Strzałkowski2013-06-281-1/+1
* Merge pull request #10561 from Empact/nix-throwresultJon Leighton2013-06-071-2/+3
|\
| * Make NullRelation a bit more like a real relation by returning 0 for #calcula...Ben Woosley2013-05-101-2/+3
* | avoid creating a set if no where values are removedAaron Patterson2013-05-211-0/+12
* | remove bind values for where clauses that were removedAaron Patterson2013-05-211-0/+10
|/
* When empty options passed to having clause having_values was [nil] but should...Fyodor2013-04-231-0/+8
* Fix implicit join references option reversion in testCarlos Antonio da Silva2013-03-151-1/+2
* make it possible to disable implicit join references.Yves Senn2013-03-151-0/+9
* Deprecate the `:distinct` option for `Relation#count`.Yves Senn2013-03-151-4/+4
* rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-1/+5
* Unprepared Visitor + unprepared_statementCédric FABIANSKI2013-03-081-0/+7
* Added comments about the check_empty_arguments method which is calledwangjohn2013-02-201-0/+16
* Reverting 16f6f25 (Change behaviour with empty array in where clause)Guillermo Iguaran2013-02-081-3/+2
* Change behaviour with empty array in where clauserobertomiranda2013-02-081-2/+3
* Prevent Relation#merge from collapsing wheres on the RHSJon Leighton2013-01-271-0/+13
* Added test case to prevent regression of chained, preloaded scopes. (#7490)Chris Geihsler2013-01-191-0/+7
* deprecate `assert_blank` and `assert_present`.Yves Senn2013-01-051-2/+2
* Revert "[#8743] Test case"Rafael Mendonça França2013-01-051-5/+0
* [#8743] Test caseCédric FABIANSKI2013-01-051-0/+5
* Use separate Relation subclasses for each AR classJon Leighton2012-11-301-0/+29
* Ensure ordering to make the test pass with postgresqlCarlos Antonio da Silva2012-11-181-4/+5
* Add test to ensure preloading works as expected with "select" and "includes".Dieter Komendera2012-11-181-0/+13
* loaded relations cannot be mutated by extending!Juanjo Bazán2012-10-281-0/+9
* nodoc the first_or_create methods and document alternativesJon Leighton2012-10-191-0/+10
* Add Relation#find_or_create_by and friendsJon Leighton2012-10-191-0/+23
* learn ActiveRecord::QueryMethods#order work with hash argumentsTima Maslyuchenko2012-10-121-0/+16
* remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* Model.select takes a variable list of arguments.Isaac Sanders2012-08-231-0/+8
* Fix "last equality wins" logic in relation mergeErnie Miller2012-08-191-4/+7
* Fix merge error when Equality LHS is non-attributeErnie Miller2012-08-171-0/+16
* Merge pull request #7133 from roshats/fix_update_all_with_blank_argumentCarlos Antonio da Silva2012-08-151-0/+4
|\
| * raise ArgumentError if list of attributes to change is empty in update_allRoman Shatsov2012-08-141-0/+4
* | Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1
* | Add `Relation#load`Jon Leighton2012-08-011-0/+8
* | AR::Relation#order: make new order prepend old oneBogdan Gusiev2012-07-311-5/+5
* | Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-58/+58
* | ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-24/+24
|/
* support relations created with a table aliasJon Leighton2012-07-131-0/+10
* Relation#inspect handles doesn't perform a new query on an already-loaded rel...Jon Leighton2012-07-071-1/+12
* Limit the number of records in Relation#inspectDamien Mathieu2012-07-061-0/+5
* Show the records in Relation#inspectJon Leighton2012-07-061-0/+5
* disallow mutating a relation once loadedJon Leighton2012-06-221-0/+27
* a test case that ensures AR::Relation#merge can merge associationsAkira Matsuda2012-06-031-0/+8
* modulize AR::NullRelationAkira Matsuda2012-06-011-1/+6