aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-132-32/+28
* Merge pull request #29715 from reverbdotcom/ptd/fix-invalid-uuidsMatthew Draper2017-07-091-1/+3
|\
| * Don't allow uuids with orphan curly bracespdebelak2017-07-071-1/+3
* | Merge pull request #28867 from eugeneius/skip_query_cache_in_batchesMatthew Draper2017-07-095-1/+179
|\ \
| * | Skip query cache for in_batches and friendsEugene Kenny2017-07-065-1/+179
| |/
* | Merge pull request #29692 from fimmtiu/avoid-translating-non-database-exceptionsMatthew Draper2017-07-091-0/+22
|\ \
| * | Remove driver-specific hard-coding in the tests.Dennis Taylor2017-07-071-9/+1
| * | Rename the StatementInvalid test method for clarity.Dennis Taylor2017-07-071-1/+1
| * | Use StandardError instead of RuntimeError.Dennis Taylor2017-07-061-2/+2
| * | Fix indentation style for private method.Dennis Taylor2017-07-051-5/+5
| * | Don't translate non-database exceptions.Dennis Taylor2017-07-051-0/+30
| |/
* / Use `information_schema` to extract `generation_expression` for MariaDBRyuta Kamizono2017-07-071-1/+1
|/
* Fix `ActiveModel::Type::DateTime#serialize`Lisa Ugray2017-07-051-0/+13
* Merge pull request #29413 from kamipo/fix_association_with_scope_including_joinsRafael França2017-07-043-0/+8
|\
| * Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-0/+1
| * Fix preloading association with scope including joinsRyuta Kamizono2017-07-043-0/+7
* | Merge pull request #29653 from kamipo/fix_test_copying_migrations_preserving_...Rafael França2017-07-042-2/+3
|\ \ | |/ |/|
| * Fix `test_copying_migrations_preserving_magic_comments`Ryuta Kamizono2017-07-022-2/+3
* | 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
| |/ / / / / /