aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Don't expose `add_to_transaction`Ryuta Kamizono2019-04-142-4/+4
* Merge pull request #35966 from shioyama/define_validator_on_topic_subclassRyuta Kamizono2019-04-141-5/+7
|\
| * Add validation to subclass in tests to avoid polluting parent classChris Salzberg2019-04-131-5/+7
* | Merge pull request #35958 from yskkin/bulk_change_tableRyuta Kamizono2019-04-141-7/+17
|\ \ | |/ |/|
| * use PostgreSQL's bulk_alter_table implementationYoshiyuki Kinjo2019-04-131-7/+17
* | Auto-correct `Style/StringLiterals` cop offencesRyuta Kamizono2019-04-131-4/+4
* | Fix `presicion` -> `precision`yuuji.yaginuma2019-04-132-6/+6
* | Fix test flakyness due to `test_truncate_tables`Guilherme Mansur2019-04-121-0/+16
|/
* Merge pull request #35918 from kamipo/lazy_sync_with_transaction_state_on_des...Ryuta Kamizono2019-04-121-6/+8
|\
| * Lazy sync with transaction state on destroyRyuta Kamizono2019-04-101-6/+8
* | Merge pull request #35920 from kamipo/dont_call_commit_callbacks_for_invalid_...Ryuta Kamizono2019-04-122-4/+26
|\ \
| * | Don't call after_commit callbacks despite a record isn't savedRyuta Kamizono2019-04-122-4/+26
* | | Fix `automatic_inverse_of` not to be disabled if extension block is givenRyuta Kamizono2019-04-124-10/+23
* | | Merge pull request #35838 from yahonda/more_than_1000_inlistRafael França2019-04-112-0/+42
|\ \ \ | |_|/ |/| |
| * | Address `ORA-01795: maximum number of expressions in a list is 1000`Yasuo Honda2019-04-112-0/+42
* | | Revert "Remove unused callbacks in the `Topic` model"Ryuta Kamizono2019-04-101-0/+4
* | | Remove unused callbacks in the `Topic` modelRyuta Kamizono2019-04-101-4/+0
| |/ |/|
* | Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-105-0/+52
|\ \
| * | Fix circular `autosave: true`Larry Reid2018-07-235-0/+52
* | | Add assertions for lazy sync transaction stateRyuta Kamizono2019-04-101-36/+49
* | | Remove duplicated attribute alias resolution in `_select!`Ryuta Kamizono2019-04-091-0/+1
* | | Merge pull request #34800 from mqchau/mysqlCountDeleteRowInLockMatthew Draper2019-04-091-0/+28
|\ \ \
| * | | Wrap Mysql count of deleted rows in lock block to avoid conflict in testQuan Chau2019-04-081-0/+28
* | | | Merge pull request #35887 from kamipo/argument_errorRyuta Kamizono2019-04-096-12/+12
|\ \ \ \
| * | | | Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-076-12/+12
| | |_|/ | |/| |
* | | | Merge pull request #35892 from ryohashimoto/bulk_insert_logsEileen M. Uchitelle2019-04-081-0/+49
|\ \ \ \
| * | | | Improve log messages for #insert_all` / `#upsert_all` / `#insert` / `#upsert ...Ryo Hashimoto2019-04-081-0/+49
| |/ / /
* | | | When skipping duplicates in bulk insert on MySQL, avoid assigning id when not...Bob Lail2019-04-081-0/+38
* | | | Fix GROUP BY with calculate longer name field to respect `table_alias_length`Ryuta Kamizono2019-04-082-0/+12
|/ / /
* | | There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-062-0/+7
* | | Association loading isn't to be affected by null relation scopingRyuta Kamizono2019-04-061-0/+24
* | | Merge pull request #35868 from kamipo/association_isnt_to_be_affected_by_scop...Ryuta Kamizono2019-04-062-7/+20
|\ \ \
| * | | Association loading isn't to be affected by scoping consistentlyRyuta Kamizono2019-04-052-7/+20
| |/ /
* | | Fix typo for touch later test description. laster -> laterAbhay Nikam2019-04-051-1/+1
* | | Add missing `touch_all` delegation to relationRyuta Kamizono2019-04-052-1/+33
|/ /
* | Remove duplicated `test_find_last`Ryuta Kamizono2019-04-051-5/+0
* | Stash `left_joins` into `joins` to deduplicate redundant LEFT JOINRyuta Kamizono2019-04-053-2/+15
* | Merge pull request #35698 from mtsmfm/output-test-reportMatthew Draper2019-04-041-0/+2
|\ \
| * | Output junit format test reportFumiaki MATSUSHIMA2019-04-041-0/+2
* | | Fix `count(:all)` with eager loading and explicit select and orderRyuta Kamizono2019-04-042-0/+12
|/ /
* | Optimizer hints should be applied on Top level query as much as possibleRyuta Kamizono2019-04-042-0/+16
* | Don't drop internal metadata tablesRyuta Kamizono2019-04-041-4/+2
* | Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-044-17/+15
* | Clear query cache when truncate table(s)Ryuta Kamizono2019-04-041-8/+36
* | Fix fragile testsRyuta Kamizono2019-04-041-2/+4
* | Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-042-1/+59
* | Merge pull request #35795 from alimi/cache-database-versionEileen M. Uchitelle2019-04-038-11/+34
|\ \
| * | Cache database version in schema cacheAli Ibrahim2019-04-038-11/+34
* | | Use official database name [ci skip]Ryuta Kamizono2019-04-031-1/+1
* | | Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+12
|/ /