aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Add failing tests, according to #480.José Valim2011-05-101-0/+14
* Fix for lighthouse #6741Nick Howard2011-05-011-0/+24
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-7/+7
* Added new #update_column method.Sebastian Martinez2011-03-271-3/+3
* Revert "Removed #update_attribute method. New #update_column method."Sebastian Martinez2011-03-271-3/+3
* Removed #update_attribute method. New #update_column method.Sebastian Martinez2011-03-261-3/+3
* Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-1/+0
* Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-071-8/+14
* AssociationCollection#clear can basically just use #delete_all, except it sho...Jon Leighton2011-01-301-3/+6
* AssociationCollection#to_ary should definitely dup the target! Also changed #...Jon Leighton2011-01-301-0/+7
* DRY up first/last and hence make last benefit from the bugfix in firstJon Leighton2011-01-301-0/+6
* We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-301-1/+17
* Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be re...Jon Leighton2011-01-111-0/+13
* has_many associations with :dependent => :delete_all should update the counte...Jon Leighton2010-12-201-0/+12
* removing unused variablesAaron Patterson2010-11-221-2/+1
* reloading an association will properly set attributes of instantiated objects...Aaron Patterson2010-11-161-0/+21
* if association is already loaded and if a find operation is performed on the ...Neeraj Singh2010-11-151-0/+11
* fisting a bunch of unused variable warningsAaron Patterson2010-11-151-9/+7
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-6/+6
* AssociationCollection#include? working properly for objects added with build ...Marcelo Giorgi2010-09-301-0/+6
* Set attributes properly for model built from association with conditions [#55...Marcelo Giorgi2010-09-281-0/+12
* Change relation merging to always append select, group and order valuesPratik Naik2010-08-311-20/+5
* While creating a new record using has_many create method default scope of chi...Neeraj Singh2010-08-191-0/+19
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-2/+2
* fixed joining of attributes when using find_or_create_by with multiple attrib...Jon Buda2010-07-281-0/+9
* 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
* renaming test name to fix accidently overrideSubba Rao Pasupuleti2010-07-131-1/+1