aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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