aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
Commit message (Expand)AuthorAgeFilesLines
* Fix GROUP BY queries to apply LIMIT/OFFSET after aggregationsRyuta Kamizono2018-06-071-0/+18
* Fix `collection.create` to could be rolled back by `after_save`Ryuta Kamizono2018-06-071-0/+11
* Reuse existing model for testing duplicated children recordsRyuta Kamizono2018-06-071-14/+12
* Merge pull request #33067 from kamipo/fix_force_equalityRafael França2018-06-061-0/+7
|\
| * Fix force equality checking not to break the serialized attribute with ArrayRyuta Kamizono2018-06-061-0/+7
* | Child joins should be aliased when merging relationsChalo Fernandez2018-06-061-1/+26
|/
* Merge pull request #33029 from fedxgibson/raise_with_duplicate_columnsEileen M. Uchitelle2018-06-041-0/+11
|\
| * Migrations will raise an exception if there are multiple column definitions (...Federico Martinez2018-06-011-0/+11
* | Initialization block is a part of `build_record`Ryuta Kamizono2018-06-041-0/+12
* | Fix `save` in `after_create_commit` won't invoke extra `after_create_commit`Ryuta Kamizono2018-06-041-0/+9
* | `record.destroy` on new record won't invoke after create commit callbacksRyuta Kamizono2018-06-031-0/+8
|/
* CI against MariaDB 10.3Yasuo Honda2018-06-011-1/+3
* Merge pull request #32952 from mechanicles/32940-fixRyuta Kamizono2018-05-291-0/+18
|\
| * Fix parent record should not get saved with duplicate children recordsSantosh Wadghule2018-05-281-0/+18
* | Ensure casting by boolean attribute when queryingRyuta Kamizono2018-05-292-43/+43
* | Fix: Arel Postgresql visitor generates invalid SQL for GROUPING SETS.david2018-05-281-3/+3
* | Parse raw value only when a value came from user in numericality validatorRyuta Kamizono2018-05-281-1/+4
* | Fix that association's after_touch is not called with counter cacheRyuta Kamizono2018-05-271-0/+17
* | Fix inconsistent touching behavior between assigning and unassigningRyuta Kamizono2018-05-271-0/+25
* | Fix `belongs_to_counter_cache_after_update` to respect polymorphic type changeRyuta Kamizono2018-05-271-1/+12
* | Fix `belongs_to_counter_cache_after_update` to respect custom primary key cou...Ryuta Kamizono2018-05-261-1/+7
* | Fix `different_target?` to respect custom primary key counterRyuta Kamizono2018-05-261-0/+7
* | Eager loading won't mutate owner recordRyuta Kamizono2018-05-251-0/+8
* | Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-252-0/+13
|/
* Rollback parent transaction when children fails to update (#32796)Guillaume Malette2018-05-221-0/+12
* Disable foreign keys during `alter_table` for sqlite3 adapterYasuo Honda2018-05-221-0/+46
* Merge pull request #32923 from yahonda/bump_sqlite3_version_to_38Ryuta Kamizono2018-05-212-19/+5
|\
| * Bump minimum SQLite version to 3.8Yasuo Honda2018-05-212-19/+5
* | Enable `Lint/StringConversionInInterpolation` rubocop ruleRyuta Kamizono2018-05-211-2/+2
|/
* Rollback correctly restore initial record id after double saveRyuta Kamizono2018-05-191-0/+1
* Finalize transaction record state after real transactionEugene Kenny2018-05-191-0/+29
* Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-161-0/+10
* Add math testsNikolai B2018-05-142-9/+83
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-1325-91/+91
* Merge pull request #32862 from eugeneius/callback_rollbackRyuta Kamizono2018-05-131-0/+12
|\
| * Don't clear transaction state after manual rollbackEugene Kenny2018-05-101-0/+12
* | `becomes` should clear the mutation tracker which is created in `after_initia...Ryuta Kamizono2018-05-111-0/+11
|/
* Address CI failure due to non-deterministic query resultRyuta Kamizono2018-05-061-1/+1
* Fix logic on disabling commit callbacksBrian Durand2018-05-041-0/+20
* Remove unused `assert_like` from `Arel::Test`Yasuo Honda2018-05-021-5/+0
* Remove unnecessary requireyuuji.yaginuma2018-05-021-1/+0
* Merge pull request #32784 from jpawlyn/allow-belongs-to-create-for-new-recordRyuta Kamizono2018-05-021-0/+9
|\
| * Allow a belonging to object to be created from a new recordJolyon Pawlyn2018-05-011-0/+9
* | More exercise `test_remove_named_index`Ryuta Kamizono2018-05-021-1/+4
* | Fix typo in ActiveRecord test method nameTakayoshi Nishida2018-05-021-1/+1
* | `require "active_support/test_case"` is not supported since 53e877f7Ryuta Kamizono2018-05-022-2/+2
|/
* Make `Arel::Test` subclass of `ActiveSupport::TestCase`Yasuo Honda2018-05-018-73/+84
* Merge pull request #32727 from utilum/assert_dont_expectsRafael França2018-04-277-147/+248
|\
| * assert_called_withutilum2018-04-264-85/+170
| * assert_calledutilum2018-04-264-28/+31