aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-0/+9
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-1/+1
* Revert "Assert primary key does not exist in habtm when the association is de...Jeremy Kemper2009-09-021-2/+14
* Assert primary key does not exist in habtm when the association is defined, i...José Valim2009-09-011-14/+2
* Fix test_has_many_through_polymorphic_has_one on sqlite2 [#3054 state:resolved]Jay Pignata2009-08-151-1/+1
* Add tests for hm:t#push failuresPratik Naik2009-08-111-0/+18
* Rewrite hm:t#create tests using assert_no_difference and assert_differencePratik Naik2009-08-101-12/+8
* raises an exception on habtm join table inserts if join table contains a prim...Jaime Bellmyer2009-08-091-1/+12
* raises exception (ActiveRecord::ConfigurationError with message) on habtm ass...Jaime Bellmyer2009-08-091-0/+45
* Fix test dependency on taggingsJeremy Kemper2009-08-091-1/+2
* Fix that counter_cache breaks with has_many :dependent => :nullify.Gabe da Silveira2009-08-092-3/+28
* has_many :through create should not raise validation errorsrailsbob2009-08-091-1/+28
* Allow ho:through#build when the owner is a new record [#1749 state:resolved]Tristan Dunn2009-08-101-0/+10
* Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-103-2/+14
* Removed duplicated tests [#3026 state:resolved]Arthur Zapparoli2009-08-101-18/+0
* 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
* Ensure hm:t#find does not assign nil to :include [#1845 state:resolved]railsbob2009-08-091-0/+5
* Ensure hm:t#create/create! throws ActiveRecord::RecordNotSaved when the owner...Pratik Naik2009-08-081-0/+7
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-065-46/+63
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-0/+98
* Optimize <association>_ids for hm:t with belongs_to sourcePratik Naik2009-07-131-2/+6
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-012-0/+12
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-222-10/+0
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-212-0/+10
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+6
* Merge branch 'master' into active_modelJoshua Peek2009-05-297-38/+420
|\
| * Break up DependencyModule's dual function of providing a "depend_on" DSL and ...Joshua Peek2009-05-281-1/+1
| * Fix eager association test related to different ordering on sqliteChad Woolley2009-05-211-1/+1
| * Add missing models and fixtures [#2673 state:resolved]Emilio Tagua2009-05-191-23/+23
| * Ensure HasManyThroughAssociation#destroy delete orphan records [#2251 state:r...Luca Guidi2009-05-181-2/+8
| * Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-0/+4
| * Implement #many? for NamedScope and AssociationCollection using #size [#1500 ...Chris Kampmeier2009-05-171-0/+39
| * has_one :through should not create a new association when assigned nil [#698 ...Daniel Guettler2009-05-171-1/+8
| * Cherry-pick core extensionsJeremy Kemper2009-05-132-0/+2
| * Use DependencyModule for included hooks in ActiveRecordBryan Helmkamp2009-05-111-7/+6
| * Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-8/+1
| * Fixed eager load error on find with include => [:table_name] and hash conditi...Anthony Crumley2009-05-101-0/+12
| * honour :inverse_of for joins based includeFrederick Cheung2009-05-101-0/+28
| * honour inverse_of when preloading associationsFrederick Cheung2009-05-101-0/+33
| * Providing support for :inverse_of as an option to associations.Murray Steele2009-05-041-0/+252
| * Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-1/+8
| * Fix models load order to be able to run unit tests.Emilio Tagua2009-04-231-5/+5
* | Merge branch 'master' into active_modelPratik Naik2009-04-222-0/+11
|\|
| * Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-201-0/+6
| * Ensure JoinAssociation uses aliased table name when multiple associations hav...Pratik Naik2009-04-201-0/+5
* | Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-2/+2
|/
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-123-0/+69
* Ensure NoMethodError isn't raised when some of the nested eager loaded associ...Murray Steele2009-03-121-0/+29
* Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]Will Bryant2009-03-123-0/+48