aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
...
| | * | | | | | | | | | Remove outdated `test_scoped_responds_to_delegated_methods`Ryuta Kamizono2017-07-151-8/+0
| | |/ / / / / / / / /
| * | | | | | | | | | Merge pull request #25564 from brewski/serializable_hash_fixSean Griffin2017-07-171-4/+2
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Correctly handle frozen options for ActiveRecord::Serialization#serializable_...Brian Abreu2016-12-091-4/+2
| * | | | | | | | | | | Merge pull request #29796 from kamipo/fix_where_with_custom_tableSean Griffin2017-07-171-4/+4
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Fix `where` with a custom tableRyuta Kamizono2017-07-181-4/+4
| * | | | | | | | | | | | `Persistence#delete` should not be affected by scopingRyuta Kamizono2017-07-181-0/+7
| |/ / / / / / / / / / /
| * | | | | | | | | | | Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-172-3/+2
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-1/+1
| | * | | | | | | | | | | Remove unused `Mutex_m` in Active ModelRyuta Kamizono2017-07-141-2/+1
| | | |/ / / / / / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | Allow multiparameter assigned attributes to be used with `text_field`Sean Griffin2017-07-171-0/+11
| * | | | | | | | | | | Merge pull request #29825 from kamipo/remove_useless_arel_engineSean Griffin2017-07-171-7/+2
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Remove useless `arel_engine`Ryuta Kamizono2017-07-171-7/+2
| * | | | | | | | | | | | 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-152-0/+12
| |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Add a test case for overwriting existing condition on associationsRyuta Kamizono2017-07-072-0/+12
| | | |_|/ / / / / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | 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-113-52/+38
|/ / / / / / / /
* | | | | | | | 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