aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add support for CollectionAssociation#delete by Fixnum or StringFrancesco Rodriguez2012-05-281-3/+17
* Ensure that CollectionAssociation#replace returns proper targetPiotr Sarnacki2012-05-191-2/+2
* Perf: Don't load the association for #delete_all.Jon Leighton2012-05-181-0/+12
* quarantine deprecated testsJon Leighton2012-05-181-121/+8
* Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+12
* Remove #=== quirkJon Leighton2012-05-111-6/+0
* CollectionProxy < RelationJon Leighton2012-05-111-4/+17
* Fix issue with private kernel methods and collection associations. Closes #2508Carlos Antonio da Silva2012-05-021-0/+5
* remove deprecated callsJon Leighton2012-04-271-2/+2
* find and replace deprecated keysJon Leighton2012-04-271-24/+24
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-57/+57
* don't need this testJon Leighton2012-04-261-5/+0
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-11/+6
* remove deprecated #first callsJon Leighton2012-04-261-12/+1
* remove deprecate #calculate callsJon Leighton2012-04-261-9/+1
* remove deprecated #find_in_batches callsJon Leighton2012-04-261-1/+1
* In AR depths use &:to_i before :uniq to process mixed arrays likes ["1", 1] c...Alexey Vakhov2012-03-091-0/+7
* Fix #5069 - Protect foreign key from mass assignment throught association bui...Jean Boussier2012-03-051-0/+22
* Merge pull request #4543 from jdelStrother/find_or_initJon Leighton2012-02-011-0/+12
|\
| * Don't instantiate two objects in collection proxy / find_or_instantiator_byJonathan del Strother2012-01-191-0/+12
* | fix has_one, has_many restrict error messageManoj2012-02-011-1/+1
* | Merge pull request #4791 from gregolsen/reflection_test_fixedJosé Valim2012-01-311-1/+1
|\ \
| * | test_get_ids_for_ordered_association fixedgregolsen2012-01-311-1/+1
* | | Remove deprecation warnings from testsRafael Mendonça França2012-01-311-7/+13
|/ /
* | Merge pull request #4783 from gregolsen/ids_reader_fixJon Leighton2012-01-311-0/+4
|\ \
| * | ids_reader method fixed, test added to has_many associationgregolsen2012-01-311-0/+4
| |/
* | suggested fixes for :dependent => :restrict deprecation.Manoj2012-01-311-16/+5
* | has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-12/+55
|/
* allow reorder to affect eager loading correctlyMatt Jones + Scott Walker2011-12-281-0/+10
* load has_many associations keyed off a custom primary key if that key is pres...Brian Samson2011-11-251-1/+28
* Merge pull request #3507 from jmazzi/issue-3503Jeremy Kemper2011-11-031-0/+15
* Fixed failed test under 1.8.7 as map.keys order in indeterminableRocky Jaiswal2011-09-281-1/+1
* Merge pull request #3030 from htanata/fix_habtm_select_query_methodJon Leighton2011-09-261-0/+8
* CollectionProxy#replace should change the DB records rather than just mutatin...Jon Leighton2011-09-261-0/+11
* Ensure we are not comparing a string with a symbol in HasManyAssociation#inve...Jon Leighton2011-09-061-0/+10
* Fixed CollectionAssociation#find to be compatible with Array#findBogdan Gusiev2011-07-051-0/+4
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-0/+7
* Make assert_no_queries literally enforce that there are no queries. As in, no...Jon Leighton2011-06-121-15/+0
* Refactor tests to be less brittleJon Leighton2011-06-121-25/+58
* Don't wrap operations on collection associations in transactions when they ar...benedikt2011-06-121-0/+45
* 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
* added an alias for new to build to the AR collection proxy, this corrects an ...Josh Kalderimis2011-06-011-0/+10
* Tests for issue #1360Farley Knight2011-05-311-0/+9
* Fix problem with loading polymorphic associations which have been defined in ...Jon Leighton2011-05-221-0/+7
* Pass the attribute and option hashes to build_associationAndrew White2011-05-171-0/+13
* CollectionAssociation#merge_target_lists should write to the underlying attri...Jon Leighton2011-05-141-0/+10
* Add test to specify that attributes from an association's conditions should b...Jon Leighton2011-05-101-4/+23
* Don't use mass-assignment protection when applying the scoped.scope_for_creat...Jon Leighton2011-05-101-0/+9
* Add failing tests according to #479.José Valim2011-05-101-0/+15