aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | | | Post.joins(:users) should not be affected by `User.current_scope`Sean Griffin2017-07-171-0/+10
| |/ / / / /
| * | | | | Enable `Layout/FirstParameterIndentation` copRyuta Kamizono2017-07-171-1/+1
| * | | | | Merge pull request #29813 from kamipo/fix_create_with_multiparameter_attributesKasper Timm Hansen2017-07-161-13/+32
| |\ \ \ \ \
| | * | | | | Fix `create_with` with multiparameter attributesRyuta Kamizono2017-07-161-13/+32
| * | | | | | Don't cache `scope_for_create`Ryuta Kamizono2017-07-161-10/+2
| |/ / / / /
| * | | | | Fix `create_with` using both string and symbolRyuta Kamizono2017-07-163-5/+9
| * | | | | Use `where(id: 10)` rather than `where(relation.table[:id].eq(10))`Ryuta Kamizono2017-07-161-5/+5
| * | | | | Merge pull request #29679 from kamipo/add_test_case_for_27724Kasper Timm Hansen2017-07-151-0/+7
| |\ \ \ \ \
| | * | | | | Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-071-0/+7
| | | |_|/ / | | |/| | |
| * | | | | Merge pull request #29769 from kamipo/remove_extra_order_for_firstKasper Timm Hansen2017-07-152-32/+28
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | Remove extra `.merge!(order: "id")` for `Relation#first` in testsRyuta Kamizono2017-07-132-32/+28
* | | | | | Bugfix: unscope(where: [columns]) would not remove the correct binds sometimesMaxime Lapointe2017-07-131-1/+17
|/ / / / /
* | | | | Merge pull request #29699 from lugray/represent_boolean_as_integerMatthew Draper2017-07-123-4/+17
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Change sqlite3 boolean serialization to use 1 and 0Lisa Ugray2017-07-113-4/+17
| |/ / /
* / / / Extract `FakeKlass` in `relation_test.rb` and `relation/mutation_test.rb`Ryuta Kamizono2017-07-112-52/+6
|/ / /
* | | 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-041-0/+5
|\ \
| * | Fix eager loading association with scope including joinsRyuta Kamizono2017-07-041-0/+1
| * | Fix preloading association with scope including joinsRyuta Kamizono2017-07-041-0/+4
* | | Merge pull request #29653 from kamipo/fix_test_copying_migrations_preserving_...Rafael França2017-07-041-2/+2
|\ \ \ | |/ / |/| |
| * | Fix `test_copying_migrations_preserving_magic_comments`Ryuta Kamizono2017-07-021-2/+2
* | | 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
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |