aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* remove count vareileencodes2014-05-131-4/+2
* rename delete_all_records to delete_or_nullify_all_recordseileencodes2014-05-133-8/+4
* remove need for :all symboleileencodes2014-05-131-13/+6
* begin refactoring delete_records methodeileencodes2014-05-133-13/+30
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-102-0/+2
* Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-1/+1
* Follow-up to #14990 [ci skip]Jon Atack2014-05-071-10/+9
* Merge pull request #14982 from eric-chahin/GBV_refactorRafael Mendonça França2014-05-061-8/+1
|\
| * Refactor AssociationScope#get_bind_valuesEric Chahin2014-05-051-8/+1
* | Fixed grammarFred Wu2014-05-061-1/+1
* | refactor and clean up delete_all methodeileencodes2014-05-051-9/+1
|/
* flip conditional in delete_all to handle nullify bettereileencodes2014-04-281-3/+3
* simplify the delete all w/ dependency methodeileencodes2014-04-281-3/+3
* remove unnecessary code from delete methodeileencodes2014-04-281-10/+2
* write a new method to be accessed from delete_alleileencodes2014-04-281-1/+9
* Merge pull request #14853 from kassio/kb-fix-custom-join-table-habtmYves Senn2014-04-251-1/+1
|\
| * Fix custom join_table name on habtm reflectionsKassio Borges2014-04-251-1/+1
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-253-4/+6
|\|
| * reset `@arel` when modifying a Relation in place.Yves Senn2014-04-241-1/+1
| * Merge pull request #14757 from estsauver/14752Rafael Mendonça França2014-04-221-1/+1
| |\
| | * select! renamed to avoid name collision Array#select!Earl J St Sauver2014-04-211-1/+1
| * | Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-221-2/+4
| |\ \
| | * | Minor improvement: Use the merge method on the relation instead of instance_e...Jan Habermann2014-04-031-1/+1
| | * | Simplify the code in target_scopeJan Habermann2014-04-031-5/+2
| | * | Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-031-2/+7
* | | | use statement cache for belongs_to relationsAaron Patterson2014-04-222-2/+13
* | | | extract record fetching to a method for belongs_toAaron Patterson2014-04-221-1/+5
* | | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-202-33/+15
|\| | |
| * | | Hide BelongsToAssociation#increment_counters and #decrement_countersJean Boussier2014-04-152-3/+2
| * | | Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-141-16/+0
| * | | Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-142-16/+15
| | |/ | |/|
* | | use cache queries for hm:t associationsAaron Patterson2014-04-151-1/+1
* | | cache scope building on associationsAaron Patterson2014-04-142-7/+64
* | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-143-7/+12
|\| |
| * | Merge pull request #14735 from byroot/idempotent-counter-cachesAaron Patterson2014-04-141-4/+5
| |\ \
| | * | Make counter cache decrementation on destroy idempotentJean Boussier2014-04-131-4/+5
| * | | again, read_attribute is public, so just call itAaron Patterson2014-04-131-1/+1
| * | | read_attribute is public, so we should just call itAaron Patterson2014-04-131-1/+1
| |/ /
| * | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-1/+5
| |\ \
| | * | Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-1/+5
* | | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-075-46/+22
|\| | |
| * | | remove check for present? from delete_alleileencodes2014-04-071-2/+2
| * | | fix CollectionProxy delete_all documentationeileencodes2014-04-061-6/+1
| * | | Merge pull request #11650 from prathamesh-sonpatki/renameRafael Mendonça França2014-04-042-7/+7
| |\ \ \
| | * | | [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-202-7/+7
| * | | | CollectionProxy uses the arel of its association's scope.Jefferson Lai2014-04-021-0/+4
| * | | | Merge pull request #14546 from eileencodes/fix_delete_all_to_not_use_IN_state...Aaron Patterson2014-03-311-1/+1
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | fix delete_all to remove records directlyeileencodes2014-03-311-1/+1
| * | | | Simplify Preloader#grouped_records code.thedarkone2014-03-301-20/+6
| * | | | Fix polymorphic preloads on NOT NULL _type columns.thedarkone2014-03-301-10/+1
| |/ / /