aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Fix problem with loading polymorphic associations which have been defined in ...Jon Leighton2011-05-222-8/+22
* Handle polymorphic_type NOT NULL-able columns as well.thedarkone2011-05-211-1/+1
* AliasTracker.pluralize use pluralize_table_names of modelGuillermo Iguaran2011-05-202-3/+3
* Implement proxy_owner, proxy_target and proxy_reflection methods on Collectio...Jon Leighton2011-05-191-0/+24
* Don't pass a block as we are yieldingAndrew White2011-05-171-1/+1
* Add block setting of attributes to singular associationsAndrew White2011-05-172-11/+12
* Pass the attribute and option hashes to build_associationAndrew White2011-05-172-8/+12
* Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_falseJon Leighton2011-05-161-1/+1
|\
| * Fixing has_many association when ActiveRecord::Base.pluralize_table_names is ...Guillermo Iguaran2011-05-151-1/+1
* | These extra array operations appear to be unnecessary. Reasoning:Jon Leighton2011-05-141-8/+2
* | CollectionAssociation#merge_target_lists should write to the underlying attri...Jon Leighton2011-05-141-5/+2
* | An attempt to make CollectionAssociation#merge_target_lists make more sense.Jon Leighton2011-05-141-16/+35
|/
* Instead of doing find(:all) which does scoped.find(:all) which does scoped.al...Jon Leighton2011-05-131-1/+1
* Remove pointless rescue (it doesn't happen anywhere in the tests, and I can't...Jon Leighton2011-05-131-9/+1
* Don't use mass-assignment protection when setting foreign keys or association...Jon Leighton2011-05-121-9/+9
* Don't remove the target if it has already been destroyedAndrew White2011-05-111-1/+1
* Modified CollectionAssociation to refer to the new class name.Michael Ebens2011-05-111-1/+1
* Don't use select() values from the join model of a through association. Fixes...Jon Leighton2011-05-111-3/+4
* Bring back obj.association_loaded? as a deprecated method. Fixes #472.Jon Leighton2011-05-111-0/+13
* Remove unnecessary '|| {}'Jon Leighton2011-05-101-1/+1
* Don't use mass-assignment protection when applying the scoped.scope_for_creat...Jon Leighton2011-05-102-3/+7
* Fix #480. Passing nil to create association works.José Valim2011-05-101-1/+1
* Revert "b9ea751d0e56bd00d341766977a607ed3f7ddd0f".José Valim2011-05-101-26/+27
* Merge pull request #399 from ernie/join_conditions_on_joinJon Leighton2011-05-051-3/+3
|\
| * Add join conditions to JOIN clause, not WHEREErnie Miller2011-05-051-3/+3
* | Merge pull request #358 from baroquebobcat/fix_find_or_create_masterAaron Patterson2011-05-051-3/+6
|\ \ | |/ |/|
| * Fix for lighthouse #6741Nick Howard2011-05-011-3/+6
* | singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-013-20/+20
|/
* Extract the constraint-building for joins in JoinAssociation into a separate ...Jon Leighton2011-04-141-8/+14
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-135-5/+5
* Removing the scope-caching which happens on association proxies, because the ...Jon Leighton2011-04-122-14/+0
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-125-5/+5
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-115-5/+14
* TableAlias leg ordering has changed, so change accordinglyAaron Patterson2011-03-301-1/+1
* Make clearing of HABTM join table contents happen in an after_destory callback.Murray Steele2011-03-231-12/+12
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-161-1/+1
|\
| * Add additional text to NotImplementedErrors [#6328 state:resolved]Mike Gehard2011-03-121-1/+1
* | Fix tests under postgres - we should always put conditions in the WHERE part ...Jon Leighton2011-03-123-18/+22
* | Resolve some TODO comments which I decided did not need anything doneJon Leighton2011-03-122-8/+5
* | Abstract some common code from AssociationScope and JoinDependency::JoinAssoc...Jon Leighton2011-03-113-97/+82
* | Refactor JoinAssociationJon Leighton2011-03-101-100/+54
* | Rename Reflection#through_reflection_chain and #through_options to Reflection...Jon Leighton2011-03-103-18/+15
* | Move the code which builds a scope for through associations into a generic As...Jon Leighton2011-03-107-209/+155
* | Fix test_has_many_association_through_a_has_many_association_with_nonstandard...Jon Leighton2011-03-071-1/+1
* | Refactor ThroughAssociation#join_to to be much smaller, and independent of co...Jon Leighton2011-03-061-84/+28
* | Refactor ThroughAssociation#tables to just be a flat array of tables in the o...Jon Leighton2011-03-061-75/+70
* | Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-051-2/+2
|\|
| * Active Record typos.R.T. Lechow2011-03-051-2/+2
| * When preloading has_and_belongs_to_many associations, we should only instanti...Jon Leighton2011-03-041-2/+4
| * Fix a couple of tests in join_model_test.rb which were failing when the ident...Jon Leighton2011-03-041-2/+2