aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Expand)AuthorAgeFilesLines
* Fix eager loading association with scope including joinsRyuta Kamizono2017-07-044-11/+28
* Fix preloading association with scope including joinsRyuta Kamizono2017-07-046-49/+32
* Remove unused `association_key` and `table` methods in `Preloader::Association`Ryuta Kamizono2017-07-041-10/+0
* Add backticks [ci skip]Ryuta Kamizono2017-07-031-2/+2
* Merge branch 'master' into require_relative_2017Xavier Noria2017-07-0237-147/+326
|\
| * Merge pull request #29658 from kamipo/remove_redundant_assert_respond_toKasper Timm Hansen2017-07-021-26/+0
| |\
| | * Remove redundant `assert_respond_to`Ryuta Kamizono2017-07-031-26/+0
| * | :warning: "Use assert_nil if expecting nil. This will fail in Minitest 6."Akira Matsuda2017-07-021-1/+1
| |/
| * Fix removed version 5.2 to 6.0 in the deprecation messageRyuta Kamizono2017-07-021-1/+1
| * Apply record state based on parent transaction stateeileencodes2017-07-014-3/+96
| * Deprecate and replace `set_state` methodeileencodes2017-07-013-6/+73
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-02679-691/+12
| * Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-02679-12/+691
| |\
| | * Enforce frozen string in RubocopKir Shatrov2017-07-01679-12/+691
| * | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-0221-44/+43
| |\ \
| | * | Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-2021-44/+43
| * | | Merge pull request #29631 from kamipo/should_be_clear_association_idsMatthew Draper2017-07-012-2/+16
| |\ \ \
| | * | | Should be clear `@association_ids` when joined newly associated recordRyuta Kamizono2017-06-302-2/+16
| * | | | Merge pull request #29634 from kamipo/dont_cache_queries_for_schema_statementsMatthew Draper2017-07-0110-55/+70
| |\ \ \ \
| | * | | | Don't cache queries for schema statementsRyuta Kamizono2017-06-3010-55/+70
| | | |_|/ | | |/| |
| * | | | Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverseMatthew Draper2017-07-013-10/+19
| |\ \ \ \
| | * | | | Add regression test for setting inverse instances on normal & polymorphic rel...Fabian Schwahn2017-04-201-0/+14
| | * | | | Remove :polymorphic from INVALID_AUTOMATIC_INVERSE_OPTIONSFabian Schwahn2017-04-202-10/+5
| * | | | | Merge pull request #29536 from nickrivadeneira/fix-yamlMatthew Draper2017-07-012-1/+9
| |\ \ \ \ \
| | * | | | | Ensure `false` is preserved in attr serializationNick Rivadeneira2017-06-222-1/+9
* | | | | | | [Active Record] require => require_relativeAkira Matsuda2017-07-0135-135/+135
|/ / / / / /
* | | / / / Delete stale comment for `AR::Associations::Builder::CollectionAssociation`fatkodima2017-07-011-2/+0
| |_|/ / / |/| | | |
* | | | | Merge pull request #29623 from kamipo/should_use_same_connection_in_query_cacheRafael França2017-06-293-11/+5
|\ \ \ \ \
| * | | | | Should use the same connection in using query cacheRyuta Kamizono2017-06-293-11/+5
* | | | | | Fix the next version of Rails from 5.3 to 6.0Ryuta Kamizono2017-06-291-2/+2
| |_|_|/ / |/| | | |
* | | | | Deprecate delegating to `arel` in `Relation`Ryuta Kamizono2017-06-293-0/+21
* | | | | Merge pull request #29616 from kamipo/remove_unused_aliased_table_nameRafael França2017-06-292-9/+0
|\ \ \ \ \
| * | | | | Remove unused `aliased_table_name` in `Association`Ryuta Kamizono2017-06-292-9/+0
* | | | | | Merge pull request #29569 from kamipo/fix_to_scoping_is_correctly_restoredRafael França2017-06-293-4/+14
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix to scoping is correctly restoredRyuta Kamizono2017-06-293-4/+14
* | | | | | Merge pull request #28932 from kamipo/remove_method_missing_in_relation_deleg...Rafael França2017-06-281-10/+0
|\ \ \ \ \ \
| * | | | | | Remove `method_missing` in `Relation::Delegation`Ryuta Kamizono2017-04-301-10/+0
* | | | | | | Merge pull request #29612 from kamipo/use_quote_method_rather_than_single_quoteRafael França2017-06-285-13/+12
|\ \ \ \ \ \ \
| * | | | | | | Use `quote` method rather than single quotes to identifiers in SQLRyuta Kamizono2017-06-295-13/+12
* | | | | | | | 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 #29301 from kamipo/receiver_in_scope_should_be_relationRafael França2017-06-281-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | The receiver in a scope should be a `relation`Ryuta Kamizono2017-06-011-1/+1
* | | | | | | | | Merge pull request #29416 from kamipo/remove_unused_subject_modelRafael França2017-06-281-14/+0
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Remove unused `Subject` model in testsRyuta Kamizono2017-06-111-14/+0
* | | | | | | | | | Merge pull request #29076 from kamipo/use_timestamp_attributes_for_update_in_...Rafael França2017-06-281-1/+1
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use `timestamp_attributes_for_update_in_model` rather than `timestamp_attribu...Ryuta Kamizono2017-05-141-1/+1
* | | | | | | | | | | Merge pull request #28928 from kamipo/remove_habtm_initializeRafael França2017-06-281-4/+0
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
| * | | | | | | | | | Remove `HasAndBelongsToManyReflection#initialize`Ryuta Kamizono2017-04-291-4/+0
| | |_|_|_|_|/ / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-287-9/+13
|\ \ \ \ \ \ \ \ \ \