aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #15747 from sgrif/sg-trolololol-this-is-so-brokenRafael Mendonça França2014-06-192-1/+26
|\
| * Always update counter caches in memory when adding recordsSean Griffin2014-06-162-1/+26
* | Merge pull request #15803 from sgrif/sg-column-in-associationsRafael Mendonça França2014-06-191-2/+2
|\ \
| * | Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-2/+2
| |/
* | Merge pull request #15772 from nbudin/sti_through_bugRafael Mendonça França2014-06-191-1/+3
|\ \
| * | Don't include inheritance column in the through_scope_attributesNat Budin2014-06-171-1/+1
| |/
* / Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-8/+5
|/
* Merge pull request #15701 from zzak/issue_15496Rafael Mendonça França2014-06-131-1/+5
|\
| * Open extension point for defining options in build_through_recordZachary Scott2014-06-131-1/+5
* | Through associations should set both parent ids on join modelsSean Griffin2014-06-132-7/+15
|/
* begin refactoring add_constraints by moving join keyseileencodes2014-06-101-12/+3
* reuse available collection? check instead of macroeileencodes2014-06-092-4/+4
* add has_one? method and reuse instead of checking macroeileencodes2014-06-093-3/+3
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-092-2/+2
* Do not try to set the foreign_key again on has_many throughRafael Mendonça França2014-06-091-1/+1
* Remove a long gone :order option from has_one's valid_options.thedarkone2014-06-091-1/+1
* Use null column for association key typesSean Griffin2014-06-041-4/+2
* Merge pull request #15482 from laurocaetano/fix-regression-for-eager-loadCarlos Antonio da Silva2014-06-041-2/+4
|\
| * Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-2/+4
* | reuse available belongs_to? methodeileencodes2014-06-032-4/+3
|/
* fix polymorphic? method and reuse iteileencodes2014-06-022-2/+2
* Merge pull request #14834 from al2o3cr/issue14155Aaron Patterson2014-05-271-1/+11
|\
| * WIP: pass existing joins to construct_join_dependencyMatt Jones2014-05-161-1/+11
* | Merge pull request #15301 from zzak/issue_15212Rafael Mendonça França2014-05-261-0/+1
|\ \
| * | Skip if the association was already loaded.Zachary Scott2014-05-241-0/+1
* | | Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-244-5/+6
|/ /
* | Merge pull request #14855 from laurocaetano/fix_polymorphic_with_string_keyYves Senn2014-05-211-4/+25
|\ \
| * | Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-2/+17
|/ /
* | Prevented belongs_to: touch propagating up if there are no changes being savedBrock Trappitt2014-05-211-1/+1
* | fix multiple hash preloads. Fixes #14994Aaron Patterson2014-05-201-6/+7
* | Fixed the inferred table name for HABTM within a schemaEric Chahin2014-05-201-1/+1
* | early return on delete and destroy methodseileencodes2014-05-181-0/+2
|/
* Remove the assignment for real this time.Zachary Scott2014-05-161-2/+2
* prepend mutates the string so we can remove the assignmentRafael Mendonça França2014-05-161-1/+1
* Don't use Active Support where it is not needed.Rafael Mendonça França2014-05-141-1/+3
* Merge pull request #14871 from kassio/kb-fixes-namespaced-habtmRafael Mendonça França2014-05-141-1/+5
|\
| * Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-131-1/+5
* | 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