aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* 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
|/
* Apply record state based on parent transaction stateeileencodes2017-07-011-0/+70
* Deprecate and replace `set_state` methodeileencodes2017-07-011-0/+38
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-02249-249/+0
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-02249-0/+249
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-01249-0/+249
* | Merge pull request #29506 from pat/frozen-string-literalsMatthew Draper2017-07-027-17/+17
|\ \
| * | Make ActiveRecord frozen string literal friendly.Pat Allan2017-06-207-17/+17
* | | Merge pull request #29631 from kamipo/should_be_clear_association_idsMatthew Draper2017-07-011-0/+5
|\ \ \
| * | | Should be clear `@association_ids` when joined newly associated recordRyuta Kamizono2017-06-301-0/+5
* | | | Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverseMatthew Draper2017-07-012-6/+16
|\ \ \ \
| * | | | 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-201-6/+2
* | | | | Merge pull request #29536 from nickrivadeneira/fix-yamlMatthew Draper2017-07-011-0/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Ensure `false` is preserved in attr serializationNick Rivadeneira2017-06-221-0/+8
* | | | | Merge pull request #29623 from kamipo/should_use_same_connection_in_query_cacheRafael França2017-06-291-7/+1
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Should use the same connection in using query cacheRyuta Kamizono2017-06-291-7/+1
* | | | | Deprecate delegating to `arel` in `Relation`Ryuta Kamizono2017-06-291-0/+15
* | | | | Merge pull request #29616 from kamipo/remove_unused_aliased_table_nameRafael França2017-06-291-1/+0
|\ \ \ \ \
| * | | | | Remove unused `aliased_table_name` in `Association`Ryuta Kamizono2017-06-291-1/+0
| |/ / / /
* / / / / Fix to scoping is correctly restoredRyuta Kamizono2017-06-291-0/+9
|/ / / /
* | | | Merge pull request #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-281-0/+6
|\ \ \ \
| * | | | Remove delegating to arel in a relationRyuta Kamizono2017-06-291-1/+1
| * | | | `Relation#locked?` should not build arelRyuta Kamizono2017-06-201-0/+6
* | | | | Merge pull request #29614 from kamipo/show_query_cache_keys_2Rafael França2017-06-281-1/+2
|\ \ \ \ \
| * | | | | Show query cache keys in `test_middleware_caches`Ryuta Kamizono2017-06-291-1/+2
* | | | | | Merge pull request #29601 from kamipo/fix_eager_loading_to_respect_store_full...Rafael Mendonça França2017-06-281-10/+17
|\ \ \ \ \ \
| * | | | | | Fix eager loading to respect `store_full_sti_class` settingRyuta Kamizono2017-06-291-10/+17
| |/ / / / /
* | | | | | Merge pull request #29610 from kamipo/dont_passing_klass_connection_to_associ...Rafael França2017-06-281-2/+1
|\ \ \ \ \ \
| * | | | | | Don't passing `klass.connection` to `AssociationScope`Ryuta Kamizono2017-06-291-2/+1
* | | | | | | Merge pull request #29611 from kamipo/add_test_case_for_unscoping_default_scopeRafael França2017-06-281-2/+3
|\ \ \ \ \ \ \
| * | | | | | | Add a test case for unscoping `default_scope` in associationsRyuta Kamizono2017-06-291-2/+3
| |/ / / / / /
* | / / / / / Enable query cache if set a configurationsTsukasa OISHI2017-06-291-14/+2
| |/ / / / / |/| | | | |
* | | | | | Merge pull request #29602 from kamipo/use_reload_in_test_find_first_after_reloadRafael França2017-06-281-10/+10
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Use `reload` in `test_find_first_after_reload`Ryuta Kamizono2017-06-281-10/+10
* | | | | | Merge pull request #29600 from kamipo/show_query_cache_keysRafael França2017-06-281-1/+2
|\ \ \ \ \ \
| * | | | | | Show query cache keys in `test_exceptional_middleware_clears_and_disables_cac...Ryuta Kamizono2017-06-281-1/+2
| |/ / / / /
* / / / / / ActiveRecord: do not create "has many through" records that have been removedTobias Kraze2017-06-281-0/+11
|/ / / / /
* | | | | Merge pull request #29571 from kamipo/fix_extracting_references_via_order_valuesRafael França2017-06-261-0/+6
|\ \ \ \ \
| * | | | | Fix extracting `references` via `order_values` to respect quotingRyuta Kamizono2017-06-261-0/+6
| | |/ / / | |/| | |
* | | | | Merge pull request #29511 from jhawthorn/clear_offsets_cache_on_collection_proxyRafael França2017-06-261-0/+35
|\ \ \ \ \
| * | | | | Move clearing of @offsets cache to reset_scopeJohn Hawthorn2017-06-211-12/+21
| * | | | | Clear offset cache on CollectionProxy reset/reloadJohn Hawthorn2017-06-201-0/+26
* | | | | | Merge pull request #29519 from Edouard-chin/ec-structure-flags-orderRafael França2017-06-261-2/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | pass `structure_dump_flags` / `structure_load_flags` options before any other:Edouard CHIN2017-06-211-2/+2
* | | | | | Remove unused variableyuuji.yaginuma2017-06-221-1/+1
* | | | | | Keep INNER JOIN when merging relationsMaxime Lapointe2017-06-201-2/+21
| |/ / / / |/| | | |
* | | | | Fix ActiveRecord::Persistence#touch with lockingbogdanvlviv2017-06-211-2/+25