aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-13/+13
* Fixed that autosave should validate associations even if master is invalid [#...David Heinemeier Hansson2009-02-271-129/+0
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-6/+4
* Make belongs_to :dependent => :destroy destroy self before associated object...Ben VandenBos2009-01-161-1/+2
* Fix HasManyAssociation#create ignoring the :primary_key option [#1633 state:r...Roman Shterenzon2008-12-271-0/+6
* Fix configure_dependency_for_has_many not quoting conditions properly [#1461 ...Frederick Cheung2008-12-211-0/+13
* Revert "Fix: counter_cache should decrement on deleting associated records."Jeremy Kemper2008-12-101-20/+0
* Fix: counter_cache should decrement on deleting associated records.Emilio Tagua2008-12-101-0/+20
* Add :having option to find, to use in combination with grouped finds. Also ad...miloops2008-12-011-0/+5
* Skip collection ids reader optimization if using :finder_sqlJeremy Kemper2008-10-231-0/+7
* Ensure association proxy responds to private class methods defined in associa...Pratik Naik2008-10-161-2/+8
* Allow class methods to be sent (via #send) to association proxy (fix for bug ...Ian White2008-10-161-0/+4
* Fix has_many :through when the source is a belongs_to association. [#323 stat...Zach Dennis2008-10-041-0/+1
* Make AssociationCollection start transactions in the correct database.Hongli Lai (Phusion)2008-09-231-0/+9
* Association#first and last should not load the association if not needed. [#1...Jan De Poorter2008-09-221-0/+13
* When counting grouped records the target should be loaded to return a valid g...miloops2008-09-151-0/+2
* Improve test coverage when using the group option in find, has_many or has_an...miloops2008-09-111-0/+5
* Performance: Better query for ASSOCIATION_ids. Select only ids if the associa...miloops2008-08-301-7/+23
* Implement count limit/offset support for has_many associationsTarmo Tänav2008-08-271-0/+6
* Fix has_many#count_records. [#865 state:resolved]Xavier Noria2008-08-211-0/+12
* Added missing fixtures for tests which fail to run independently if run after...Tarmo Tänav2008-08-041-1/+1
* Fixed test_joins_with_namespaced_model_should_use_correct_type for postgresqlTarmo Tänav2008-07-311-1/+1
* Use klass.sti_name to make sure associations take store_full_sti_class into a...Daniel Guettler2008-07-221-0/+18
* Add block syntax to HasManyAssociation#build. [#502 state:resolve]Jason Dew2008-07-141-0/+31
* Add has_many :primary_key option to allow setting the primary key on a has ma...Andre Arko2008-07-061-0/+4
* Ensure AssociationCollection#size considers all unsaved record. [#305 state:r...Pratik Naik2008-07-021-0/+7
* Make sure associated has_many/habtm objects get saved even when :validate => ...Jan De Poorter2008-06-271-1/+18
* Fix quoting in test_counting_with_single_conditionsJeremy Kemper2008-06-111-1/+1