aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* fix ActiveRecord `destroy_all` so it returns destroyed recordsMislav Marohnić2010-07-081-2/+5
* AssociationCollection#create_by_*, find_or_create_by_* work properly now. [#1...Aaron Patterson2010-06-291-0/+62
* do order by id when finding first fixture to ensure that it is correct oneRaimonds Simanovskis2010-06-041-1/+1
* Use better assertion methods for testingNeeraj Singh2010-05-191-10/+3
* Fix for get_ids when including a belongs_to association on a has_many associa...Diego Algorta2010-05-151-0/+4
* Add tests to prevent regression of lazy evaluation of has_many ..., :dependen...Andrew White2010-04-041-0/+18
* Add :dependent = to has_one and has_many [#3075 state:resolved]Rizwan Reza2010-03-281-0/+8
* Fix associations to call :destroy or :delete based on the right :dependent op...Carlos Antonio da Silva2010-03-091-19/+1
* Forgot to revert tests from that last commitJoshua Peek2009-12-121-8/+0
* Revert "Fix instance_eval calls to association proxies"Joshua Peek2009-12-121-1/+0
* Fix postgresql AR test failureJohn Pignata2009-12-111-2/+2
* Fix instance_eval calls to association proxiesMat Brown2009-12-021-0/+8
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-0/+12
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-1/+1
* Fix test dependency on taggingsJeremy Kemper2009-08-091-1/+2
* Fix that counter_cache breaks with has_many :dependent => :nullify.Gabe da Silveira2009-08-091-0/+25
* Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-101-1/+1
* Make sure association conditions work with :include and :joins [#358 state:re...Vladimir Meremyanin2009-08-091-0/+6
* Added back support for destroying an association's object by id. [#2306 statu...Joshua Nichols2009-08-091-0/+22
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-061-38/+42
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-0/+5
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-5/+0
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-0/+5
* Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+39
* Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-201-0/+6
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-0/+24
* Add tests for AssociationCollection#find_each and AssociationCollection#find_...Pratik Naik2009-03-111-0/+39
* Fix find_by_last when order is given [#2127 state:committed]Jan De Poorter2009-03-091-0/+4