aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-095-35/+35
* Fixes queries using limits and punctuation in order, removes order("col1, col...Santiago Pastorino2010-11-052-3/+3
* Convert :primary_key in association to a string before comparing to column na...Denis Odorcic2010-10-301-0/+7
* Fix issues when including the same association multiple times and mixing join...Ernie Miller2010-10-301-0/+26
* removing unused variablesAaron Patterson2010-10-201-2/+2
* Add some tests for functionality in JoinAssociation which already exists but ...Jon Leighton2010-10-134-11/+33
* AssociationCollection#include? working properly for objects added with build ...Marcelo Giorgi2010-09-303-0/+26
* Revert "porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to master"Aaron Patterson2010-09-281-6/+0
* Set attributes properly for model built from association with conditions [#55...Marcelo Giorgi2010-09-285-0/+46
* porting 515917f5d8678af6c57842ca5dfd7c18e67ff1fe to masterAaron Patterson2010-09-281-0/+6
* remove join table rows before removing owner row for habtm associations, fixe...Hemant Kumar2010-09-211-1/+1
* providing arel with column information when possible [#5392 state:resolved]Aaron Patterson2010-09-211-0/+10
* Change relation merging to always append select, group and order valuesPratik Naik2010-08-312-41/+10
* removing unused codeAaron Patterson2010-08-221-2/+2
* updated test_should_record_timestamp_for_join_table for OracleRaimonds Simanovskis2010-08-221-1/+1
* While creating a new record using has_many create method default scope of chi...Neeraj Singh2010-08-191-0/+19
* avoids warnings about mismatched indentations in Ruby 1.9.2Xavier Noria2010-08-191-8/+5
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-174-6/+6
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-143-14/+14
* fixed indentation in test casesMark Turner2010-08-111-2/+1
* Merge branch 'master' into mysql2Brian Lopez2010-08-021-1/+39
|\
| * Tidy up previous commit.José Valim2010-08-021-1/+1
| * test and fix collection_singular_ids= with string primary keys [#5125 state:r...Robert Pankowecki2010-08-021-1/+39
* | update tests for mysql2 supportBrian Lopez2010-08-022-3/+8
|/
* Don't increment and then decrement the same counter when re-assigning a belon...Tarmo Tänav2010-07-291-0/+4
* fixed joining of attributes when using find_or_create_by with multiple attrib...Jon Buda2010-07-281-0/+9
* removing unused models from testsSubba Rao Pasupuleti2010-07-214-11/+0
* Timestamp columns of HABTM join table should record timestampsNeeraj Singh2010-07-211-1/+34
* Ensure that primary_keys of HABTM records is not double quotedNeeraj Singh2010-07-201-0/+18
* Removed warnings when a variable is shadowedŁukasz Strzałkowski2010-07-191-2/+2
* fixing typeo. thanks bamnet!Aaron Patterson2010-07-161-1/+1
* JoinDependency#graft does not properly set parent join [#5124 state:resolved]David Genord II2010-07-161-0/+7
* Remove unintentional API changes. [#1108]Pratik Naik2010-07-141-41/+9
* count method should not take options if it is operated on has_many associatio...Neeraj Singh2010-07-131-0/+26
* string IDs are now quoted correctly [#5064 state:resolved]Will St. Clair + Neeraj Singh2010-07-131-1/+11
* renaming test name to fix accidently overrideSubba Rao Pasupuleti2010-07-131-1/+1
* Eager loading :through associations will join the :source model if there are ...Grant Ammons2010-07-081-0/+6
* fix ActiveRecord `destroy_all` so it returns destroyed recordsMislav Marohnić2010-07-081-2/+5
* This test never runs and it has never run. Since the day this fileNeeraj Singh2010-07-081-4/+0
* Fixed gruoped_by_title spelling [#5063 state:committed]Ben Somers2010-07-081-2/+2
* AssociationCollection#create_by_*, find_or_create_by_* work properly now. [#1...Aaron Patterson2010-06-291-0/+62
* Order is not guaranteed here, ordering by id of people table makes it workSantiago Pastorino2010-06-251-2/+2
* Make sure about which is the first element of the query, fixes a postgresql 8...Santiago Pastorino2010-06-091-2/+2
* Fix multiple self-referencing eager loads failing to join multiple timesErnie Miller2010-06-081-1/+9
* Merge remote branch 'rsim/oracle_enhanced_rails3'wycats2010-06-072-1/+5
|\
| * fix test_belongs_to_with_primary_key_joins_on_correct_column test on OracleRaimonds Simanovskis2010-06-041-0/+4
| * do order by id when finding first fixture to ensure that it is correct oneRaimonds Simanovskis2010-06-041-1/+1
* | removes Array#random_element and backports Array#sample from Ruby 1.9, thanks...Xavier Noria2010-06-051-7/+7
|/
* Use better assertion methods for testingNeeraj Singh2010-05-198-31/+24
* Change on Array extension from rand => random_element [#4555 state:committed]Santiago Pastorino2010-05-161-7/+7