aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/relations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-051-0/+16
* Rename first_or_new to first_or_initialize.Jon Leighton2011-09-131-12/+6
* Not used variables removed. Warnings removed.Arun Agrawal2011-09-101-1/+1
* Merge pull request #2757 from andmej/first_or_create_pull_requestJon Leighton2011-09-081-0/+128
|\
| * Adding first_or_create, first_or_create!, first_or_new and first_or_build to ...Andrés Mejía2011-08-301-0/+128
* | Revert "Fixes bug in ActiveRecord::QueryMethods, #1697"Jon Leighton2011-09-041-5/+0
* | Fixes bug in ActiveRecord::QueryMethods, #1697Joshua Wehner2011-08-311-0/+5
* | Ensure correct ordering of results in test_update_all_with_joins_and_offset_a...Raimonds Simanovskis2011-08-301-1/+1
|/
* Fix PredicateBuilder clobbering select_values in subquery.Ernie Miller2011-08-201-0/+13
* Fix assumption of primary key name in PredicateBuilder subquery.Ernie Miller2011-08-201-0/+10
* Support for multi-table updates with limits, offsets and ordersJon Leighton2011-08-151-0/+30
* Support updates with joins. Fixes #522.Jon Leighton2011-08-151-0/+8
* Revert "Merge pull request #2309 from smasry/master"Jon Leighton2011-07-281-5/+0
* Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697Samer Masry2011-07-271-0/+5
* Simplify the test by using id and name. `id` will be the only real sort crite...Franck Verrot2011-07-261-1/+1
* Ordering with extra spaces was raising a SQL exceptionFranck Verrot2011-07-241-0/+4
* Merge pull request #1273 from jeremyf/feature-association-proxy-sendSantiago Pastorino2011-07-061-0/+9
|\
| * Addresses an inconsistency in the ActiveRecord::Base.method_missing handling ...Jeremy Friesen2011-05-241-0/+9
* | Fix test_finding_with_cross_table_order_and_limit for OracleRaimonds Simanovskis2011-06-281-3/+3
* | Improve ordering of multiple columns on postgresqlLucia Escanellas2011-06-241-0/+7
* | Support reversal of ARel orderings in reverse_sql_orderErnie Miller2011-06-201-0/+12
* | 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