aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapter_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix test flakyness due to `test_truncate_tables`Guilherme Mansur2019-04-121-0/+16
* Clear query cache when truncate table(s)Ryuta Kamizono2019-04-041-8/+36
* Make `truncate_tables` to bulk statementsRyuta Kamizono2019-03-171-3/+3
* Extract `truncate` and `truncate_tables` into database statementsRyuta Kamizono2019-03-171-0/+22
* Don't test `disconnect!` if in memory dbRyuta Kamizono2019-03-101-8/+8
* Fix `reconnect!` to work after `disconnect!`Ryuta Kamizono2019-03-101-7/+9
* SQLite3: Implement `add_foreign_key` and `remove_foreign_key`Ryuta Kamizono2019-02-111-0/+4
* Add test case for `preventing_writes?`Ryuta Kamizono2019-01-021-0/+10
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-12/+10
* Ensure that preventing writes is invoked before `materialize_transactions` co...Ryuta Kamizono2018-12-121-9/+21
* Prevent write queries for `exec_query`Ryuta Kamizono2018-12-111-0/+37
* When running exec_query MySQL always returns ActiveRecord::ResultAlireza Bashiri2018-11-251-0/+5
* Redact SQL in errorsGannon McGibbon2018-11-221-12/+0
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-1/+1
* Fix deprecation hash warning - activerecord testVitor Oliveira2018-09-201-1/+1
* `supports_xxx?` returns whether a feature is supported by the backendRyuta Kamizono2018-09-081-0/+25
* Deprecate most methods which were never used in `DatabaseLimits`Ryuta Kamizono2018-09-051-0/+28
* Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-131-0/+1
* MySQL: Raise ActiveRecord::InvalidForeignKey for foreign-key constraint viola...George Claghorn2018-07-301-5/+16
* Bump minimum SQLite version to 3.8Yasuo Honda2018-05-211-0/+4
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-5/+5
* Fix `can't modify frozen String` error in an AR testKoichi ITO2017-08-191-2/+2
* Restore the ability that SQL with binds for `insert`, `update`, and `delete` ...Ryuta Kamizono2017-08-181-0/+32
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-3/+3
|\
| * Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-3/+1
| * Merge pull request #29732 from kirs/frozen-activerecordRafael França2017-07-211-0/+2
| |\
| | * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| * | Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"Sean Griffin2017-07-211-1/+1
| |/
* / Move `reset_pk_sequence!` test to `AdapterTestWithoutTransaction`yuuji.yaginuma2017-07-171-20/+20
|/
* 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
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`Ryuta Kamizono2017-05-041-1/+1
* Merge pull request #27939 from kamipo/fix_select_all_with_legacy_bindsRafael França2017-03-201-0/+9
|\
| * Fix `select_all` with legacy `binds`Ryuta Kamizono2017-02-121-0/+9
* | `valid_type?` should accept only supported typesRyuta Kamizono2017-02-281-0/+10
|/
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-1/+1
* Merge pull request #27700 from kenta-s/remove-meaningless-line-from-adapter-testAndrew White2017-01-171-1/+0
|\
| * Remove meaningless line from adapter_test.rbkenta-s2017-01-161-1/+0
* | Translate Foreign Key violation to the specific exception for SQLite3 adapterRyuta Kamizono2017-01-161-45/+53
|/
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-17/+17
* Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-17/+17
|\
| * Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-17/+17