aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency.rb
Commit message (Expand)AuthorAgeFilesLines
* Joined tables in association scope doesn't use the same aliases with the pare...Ryuta Kamizono2017-10-091-3/+4
* Decouple building `AliasTracker` from `JoinDependency`Ryuta Kamizono2017-10-081-2/+2
* Ensure `AliasTracker` respects a custom table nameRyuta Kamizono2017-09-301-1/+1
* Scope in associations should treat nil as `all`Ryuta Kamizono2017-09-041-1/+2
* Should work inverse association when eager loadingRyuta Kamizono2017-08-251-3/+3
* Remove useless `JoinInformation`Ryuta Kamizono2017-07-251-2/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-181-2/+2
* Remove useless `aliased_table_name` in `JoinDependency`Ryuta Kamizono2017-07-151-5/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-021-2/+1
|\ \ | |/ |/|
| * Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-201-2/+1
* | The AliasTracker#aliased_table_for needs the type caster for the joined assoc...Ray Zane2017-06-251-2/+3
* | Keep INNER JOIN when merging relationsMaxime Lapointe2017-06-201-3/+3
|/
* Refactor making join constraintsRyuta Kamizono2017-05-231-23/+6
* Remove `node` parameter to `join_constraints`Aaron Patterson2017-03-031-1/+1
* Fix `scopes` implementation on `PolymorphicReflection`Aaron Patterson2017-01-301-1/+1
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-9/+9
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-2/+2
* Ensure that inverse associations are set before running callbacksSean Griffin2016-08-311-3/+5
* Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-1/+5
|\
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-1/+3
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-105/+105
* | applies new string literal convention in activerecord/libXavier Noria2016-08-061-3/+3
|/
* Exists shouldn't error when used with `includes`Sean Griffin2016-05-301-2/+4
* Improve clarity of error message for missing includes and eager_loadJames Wen2016-01-281-1/+1
* docs, `ActiveRecord::JoinDependency` is not part of the public API.Yves Senn2015-11-071-1/+1
* Merge pull request #12071 from Crunch09/outer_joinsSean Griffin2015-10-301-2/+15
|\
| * added ActiveRecord::Relation#left_outer_joinsFlorian Thomas2015-05-191-2/+15
* | Merge pull request #18383 from scambra/habtm-with-where-includes-16032-for-ma...Rafael Mendonça França2015-10-271-1/+2
|\ \
| * | Includes HABTM returns correct size now. It's caused by the join dependencySergio Cambra2015-01-071-2/+3
* | | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-041-6/+5
| |/ |/|
* | Merge pull request #16989 from Empact/reload-cache-clearRafael Mendonça França2015-02-201-6/+4
|\ \
| * | Isolate access to @associations_cache and @aggregations cache to the Associat...Ben Woosley2014-09-281-6/+4
* | | Fix n+1 query problem when eager loading nil associations (fixes #18312)Sammy Larbi2015-01-031-1/+6
| |/ |/|
* | Move `#type_caster` to alias tracker initializeeileencodes2015-01-021-6/+2
* | Initialze `#alias_tracker` with base table nameeileencodes2015-01-021-2/+1
* | Pass a type caster when aliasing tables for joinsSean Griffin2014-12-291-2/+6
* | `eager_load` preserves readonly flag for associationsTakashi Kokubun2014-12-301-0/+1
* | Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* | Combine aliased_table_for and aliased_name_foreileencodes2014-11-241-1/+1
* | measure record instantiation time in AS::NotificationsAaron Patterson2014-10-131-3/+12
|/
* Encapsulate knowledge of type objects on `ActiveRecord::Result`Sean Griffin2014-06-221-3/+1
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-1/+1
* fix polymorphic? method and reuse iteileencodes2014-06-021-1/+1
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-1/+1
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-0/+1