aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
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-02432-444/+12
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-02432-12/+444
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-01432-12/+444
* | 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 #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 #29405 from kamipo/locked_should_not_build_arelRafael França2017-06-282-0/+7
|\ \ \ \ \
| * | | | | Remove delegating to arel in a relationRyuta Kamizono2017-06-292-1/+2
| * | | | | `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
| |/ / / / / / /
* | | | | | | | Merge pull request #29609 from tsukasaoishi/query_cache_from_beginningRafael França2017-06-281-14/+2
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Enable query cache if set a configurationsTsukasa OISHI2017-06-291-14/+2
* | | | | | | | Merge pull request #29604 from kamipo/fix_ids_reader_to_respect_case_sensitiv...Rafael França2017-06-281-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Fix `ids_reader` to respect case sensitive primary keyRyuta Kamizono2017-06-281-1/+1
* | | | | | | | 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 #29568 from kamipo/ensure_using_correct_alias_trackerRafael França2017-06-262-1/+2
|\ \ \ \ \ \
| * | | | | | Ensure that using correct alias trackerRyuta Kamizono2017-06-252-1/+2
| |/ / / / /
* | | | | | Merge pull request #29511 from jhawthorn/clear_offsets_cache_on_collection_proxyRafael França2017-06-261-0/+35
|\ \ \ \ \ \