aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* rm dup codeAaron Patterson2014-01-141-13/+0
* unscope should remove bind values associated with the whereAaron Patterson2014-01-131-0/+9
* fix default select when from is usedCody Cutrer2013-12-191-0/+5
* Remove delegation test.laurocaetano2013-12-121-17/+46
* Revert "Merge pull request #12518 from vipulnsward/remove_count_options"Rafael Mendonça França2013-12-111-1/+1
* move Relation#merge tests into separate file.Yves Senn2013-11-131-121/+0
* Fix order dependent testsRafael Mendonça França2013-10-221-4/+4
* Process sub-query relation's binding valuesPaul Nikitochkin2013-10-201-0/+25
* Pluck on NullRelation accepts a list of columnsDerek Prior2013-10-151-1/+1
* Merge pull request #12518 from vipulnsward/remove_count_optionsRafael Mendonça França2013-10-131-1/+1
|\
| * Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relatio...Vipul A M2013-10-141-1/+1
* | Merge pull request #12508 from jetthoughts/12415_generate_subqueries_for_rela...Rafael Mendonça França2013-10-131-0/+5
|\ \ | |/ |/|
| * Generate subquery for Relation passed as array condition for wherePaul Nikitochkin2013-10-131-0/+5
* | Fixes #11773 when using includes combined with select, the select statement w...Edo Balvers2013-10-081-0/+8
|/
* Squashed commit of the following:Aaron Patterson2013-10-011-0/+5
* Removed where_values_hash from AR::NullRelationPaul Nikitochkin2013-09-281-0/+4
* Allow Relation#from to accept other relations with bind values.Ryan Wallace2013-09-081-0/+7
* Extracted from `order` processing of arguments, and use it for `reorder` to b...Paul Nikitochkin2013-09-041-0/+18
* test-case for fixed issue #11870.Yves Senn2013-08-141-0/+4
* 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