aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Merge branch 'master' into zomgAaron Patterson2011-03-291-0/+6
|\
| * Bring #reorder backSebastian Martinez2011-03-281-0/+6
* | Use Arel to build subquery. Adapt tests to changed fixtures.John Mileham2011-03-241-3/+3
* | Merge branch 'master' of github.com:rails/rails into count_behaviorJohn Mileham2011-03-241-20/+69
|\|
| * Merge branch 'master' into fuuuAaron Patterson2011-03-221-0/+8
| |\
| | * Reapply extensions when using except and onlyIain Hecker2011-03-211-0/+8
| * | Add order clauses to fix some tests which were failing under 1.8 on oracle an...Jon Leighton2011-03-181-5/+5
| * | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-161-0/+26
| |\|
| | * Remove invalid testAndrew White2011-03-131-5/+1
| | * Fixed a bug when empty? was called on a grouped Relation that wasn't loadedChris Oliver2011-03-121-0/+30
| | * Referencing a table via the ON condition in a join should force that table to...Jon Leighton2011-03-071-0/+15
| * | Referencing a table via the ON condition in a join should force that table to...Jon Leighton2011-03-071-0/+15
| * | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-24/+86
| |\|
| * | Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-271-1/+29
| |\ \
| * \ \ Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-171-5/+30
| |\ \ \
| * \ \ \ Merge branch 'master' into nested_has_many_throughJon Leighton2010-11-081-1/+12
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-311-0/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-281-7/+9
| |\ \ \ \ \ \
| * | | | | | | Add explicit ordering in relations_test.rb, as the lack of this was causing f...Jon Leighton2010-10-191-9/+9
| * | | | | | | Properly support conditions on any of the reflections involved in a nested th...Jon Leighton2010-10-191-9/+9
| * | | | | | | Merge branch 'master' into nested_has_many_throughJon Leighton2010-10-141-6/+0
| |\ \ \ \ \ \ \
| * | | | | | | | Fix the tests (I have actually verified that these are also the 'right' fixes...Jon Leighton2010-10-031-10/+10
* | | | | | | | | Change behavior of count(:limit => x, :offset => y) to limit/offset before co...John Mileham2011-03-031-0/+28
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-181-3/+37
|\ \ \ \ \ \ \ \
| * | | | | | | | explicitly allowing lolqueriesAaron Patterson2011-02-161-3/+10
| * | | | | | | | fixing whitespace problemsAaron Patterson2011-02-161-3/+3
| * | | | | | | | removed an unnecessary second query when passing an ActiveRecord::Relation to...Steven Fenigstein2011-02-161-1/+28
* | | | | | | | | Fix expected queries in relation tests.Emilio Tagua2011-02-151-2/+2
* | | | | | | | | Run tests without IdentityMap when IM=false is given.Emilio Tagua2011-02-151-5/+5
* | | | | | | | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-9/+31
|\| | | | | | | |
| * | | | | | | | Remove Relation#& alias for Relation#mergeErnie Miller2011-02-121-7/+7
| * | | | | | | | ActiveRecord::Relation#primary_key should return a string, just like ActiveRe...Jon Leighton2011-01-031-0/+4
| * | | | | | | | Let AssociationCollection#find use #scoped to do its finding. Note that I am ...Jon Leighton2011-01-031-0/+4
| * | | | | | | | Fix test_any in relations_test.rb, which was failing when relations_test.rb i...Jon Leighton2011-01-031-0/+8
| * | | | | | | | Added one more failing test for bug #6036Robert Pankowecki (Gavdi)2011-01-041-0/+6
* | | | | | | | | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-4/+15
|\| | | | | | | |
| * | | | | | | | ActiveRecord::Base.joins should allow single nil argument [#6181 state:resolved]Piotr Sarnacki2010-12-161-0/+4
| * | | | | | | | Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-3/+3
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Do not send id for quoting twice if the primary key is string.Neeraj Singh2010-11-231-1/+8
* | | | | | | | Update number of queries executed instead of avoiding IM.Emilio Tagua2010-11-191-9/+5
* | | | | | | | IdentityMap - Tests for IMMarcin Raczkowski2010-11-191-0/+6
|/ / / / / / /
* | | | | | | testing multiple ORd queriesAaron Patterson2010-11-181-0/+12
* | | | | | | When use where more than once on the same column, relation doesn't do an 'or'...Santiago Pastorino2010-11-171-0/+9
| |_|_|_|_|/ |/| | | | |
* | | | | | support finding by a ruby class [#5979 state:resolved]Aaron Patterson2010-11-151-0/+7
* | | | | | adding more test coverage around finding with active record objectsAaron Patterson2010-11-151-0/+12
* | | | | | use quoted id of single AR::Base objects in predicatesAaron Patterson2010-11-151-0/+6
* | | | | | use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-5/+5
| |_|_|_|/ |/| | | |
* | | | | use column names as order by complex function parameters, fix for postgresql ...Raimonds Simanovskis2010-11-071-12/+2