aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Remove unused 1:1 association :remote optionChris Griego2014-07-161-1/+1
* Merge pull request #15266 from dv/use_counter_cache_for_empty_callGodfrey Chan2014-07-151-0/+8
|\
| * If a counter_cache exists, use it for #empty?David Verhasselt2014-06-101-0/+8
* | Add a `required` option to singular associationsSean Griffin2014-07-042-1/+13
* | Merge pull request #12450 from iantropov/masterRafael Mendonça França2014-06-273-5/+16
|\ \
| * | Fix bug, when ':dependent => :destroy' option violates foreign key constraint...Ivan Antropov2013-10-263-9/+18
* | | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-262-1/+23
* | | Merge pull request #15847 from sgrif/sg-encapsulate-result-typesRafael Mendonça França2014-06-261-3/+1
|\ \ \
| * | | Encapsulate knowledge of type objects on `ActiveRecord::Result`Sean Griffin2014-06-221-3/+1
* | | | `preload` preserves readonly flag on associations. #15853Yves Senn2014-06-251-0/+4
* | | | Add a deprecation cycle for `NullColumn` from `column_for_attribute`Sean Griffin2014-06-231-2/+2
|/ / /
* | | 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