aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/join_dependency.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-271-9/+10
* Avoid unneeded expanded column aliases array cachingRyuta Kamizono2018-07-101-6/+3
* Don't extract `readonly_value` each timeRyuta Kamizono2018-07-031-5/+1
* Don't share seen object cache between different join nodes in eager loadingRyuta Kamizono2018-07-031-2/+2
* Use `reflection.alias_candidate` in `table_alias_for`Ryuta Kamizono2018-06-261-1/+1
* Remove all `aliases` passing from `JoinDependency`Ryuta Kamizono2018-06-201-2/+2
* Remove useless `aliases` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Remove unused `rs` argument from `JoinDependency#construct`Ryuta Kamizono2018-06-201-5/+5
* Ensure to calculate column aliases after all table aliases are constructedRyuta Kamizono2018-06-191-40/+38
* Child joins should be aliased when merging relationsChalo Fernandez2018-06-061-1/+1
* Eager loading with polymorphic associations should behave consistentlyRyuta Kamizono2018-03-041-4/+2
* Remove staled comment for `JoinDependency#initialize`Ryuta Kamizono2018-03-021-21/+0
* 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
| |/ |/|