aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations
Commit message (Expand)AuthorAgeFilesLines
* Passing `klass` to `StatementCache.new`Ryuta Kamizono2017-08-042-12/+8
* Remove single element array preprocessRyuta Kamizono2017-07-261-1/+1
* Remove useless `JoinInformation`Ryuta Kamizono2017-07-252-5/+3
* Merge pull request #29765 from lugray/fix_counter_cacheRafael França2017-07-241-3/+1
|\
| * Add test for fixed `counter_cache` double incrementLisa Ugray2017-07-191-3/+1
* | Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-242-5/+3
* | Merge pull request #29855 from lugray/has_one_destroyed_by_associationRafael França2017-07-211-0/+2
|\ \
| * | Match destroyed_by_association for has_one to has_manyLisa Ugray2017-07-211-0/+2
* | | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-1935-0/+70
|/ /
* | Merge pull request #29033 from kamipo/make_preload_query_to_prepared_statementsSean Griffin2017-07-181-1/+1
|\ \ | |/ |/|
| * Make preload query to preparableRyuta Kamizono2017-07-071-1/+1
* | Fix unscoping `default_scope` for `Preloader`Ryuta Kamizono2017-07-191-1/+11
* | Fix `JoinDependency` with using a custom tableRyuta Kamizono2017-07-182-6/+9
* | Don't cache `scope_for_create`Ryuta Kamizono2017-07-162-2/+2
* | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-163-9/+7
* | Remove useless `aliased_table_name` in `JoinDependency`Ryuta Kamizono2017-07-154-18/+1
|/
* Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-4/+10
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-043-49/+25
* Remove unused `association_key` and `table` methods in `Preloader::Association`Ryuta Kamizono2017-07-041-10/+0
* Merge branch 'master' into require_relative_2017Xavier Noria2017-07-022-4/+12
|\
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0235-35/+0
| * Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0235-0/+35
| |\
| | * Enforce frozen string in RubocopKir Shatrov2017-07-0135-0/+35
| * | 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
| * | | Merge pull request #29631 from kamipo/should_be_clear_association_idsMatthew Draper2017-07-011-2/+11
| |\ \ \
| | * | | Should be clear `@association_ids` when joined newly associated recordRyuta Kamizono2017-06-301-2/+11
| | | |/ | | |/|
* | / | [Active Record] require => require_relativeAkira Matsuda2017-07-013-3/+3
|/ / /
* / / Delete stale comment for `AR::Associations::Builder::CollectionAssociation`fatkodima2017-07-011-2/+0
|/ /
* | Merge pull request #29616 from kamipo/remove_unused_aliased_table_nameRafael França2017-06-291-8/+0
|\ \
| * | Remove unused `aliased_table_name` in `Association`Ryuta Kamizono2017-06-291-8/+0
* | | Merge pull request #29129 from kamipo/prevent_extra_through_scopeRafael França2017-06-281-2/+4
|\ \ \ | |/ / |/| |
| * | Prevent extra `through_scope`Ryuta Kamizono2017-05-181-2/+4
* | | Merge pull request #29610 from kamipo/dont_passing_klass_connection_to_associ...Rafael França2017-06-284-7/+7
|\ \ \
| * | | Don't passing `klass.connection` to `AssociationScope`Ryuta Kamizono2017-06-294-7/+7
* | | | Merge pull request #29604 from kamipo/fix_ids_reader_to_respect_case_sensitiv...Rafael França2017-06-281-4/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Fix `ids_reader` to respect case sensitive primary keyRyuta Kamizono2017-06-281-4/+1
* | | | Merge pull request #29593 from kratob/masterEileen M. Uchitelle2017-06-281-0/+5
|\ \ \ \ | |/ / / |/| | |
| * | | ActiveRecord: do not create "has many through" records that have been removedTobias Kraze2017-06-281-0/+5
* | | | Merge pull request #29589 from kamipo/refactor_join_scopeRafael França2017-06-271-47/+3
|\ \ \ \
| * | | | Move building constraint to `join_scope` in `Reflection`Ryuta Kamizono2017-06-271-39/+3
| * | | | Move constructing polymorphic type to `join_scope` in `Reflection`Ryuta Kamizono2017-06-271-10/+2
| |/ / /
* / / / Skip instantiating `NullPreloader` if `assoc.klass` is nilRyuta Kamizono2017-06-271-11/+3
|/ / /
* | | Merge pull request #29557 from kamipo/extract_build_scope_and_predicate_builderRafael França2017-06-262-13/+4
|\ \ \
| * | | Move constructing join scope to `Reflection`Ryuta Kamizono2017-06-261-9/+1
| * | | Extract `build_scope` and `predicate_builder` in `Reflection`Ryuta Kamizono2017-06-242-5/+4
* | | | Merge pull request #29568 from kamipo/ensure_using_correct_alias_trackerRafael França2017-06-263-14/+18
|\ \ \ \
| * | | | The AliasTracker#aliased_table_for needs the type caster for the joined assoc...Ray Zane2017-06-253-14/+18
| |/ / /
* | | | Merge pull request #29511 from jhawthorn/clear_offsets_cache_on_collection_proxyRafael França2017-06-261-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Move clearing of @offsets cache to reset_scopeJohn Hawthorn2017-06-211-2/+1