aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapter_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* | `#tables` and `#table_exists?` and returns only tables and not viewsRafael Mendonça França2016-12-291-18/+6
* | Remove deprecated `name` argument from `#tables`Rafael Mendonça França2016-12-291-4/+0
* | fix QueryCache nil dupRichard Monette2016-12-151-2/+2
* | Translate numeric value out of range to the specific exceptionRyuta Kamizono2016-12-061-0/+8
* | Translate NOT NULL violation to the specific exceptionRyuta Kamizono2016-12-061-0/+8
|/
* Merge pull request #26688 from kamipo/remove_respond_to_indexesKasper Timm Hansen2016-10-281-14/+9
|\
| * Remove unnecessary `respond_to?(:indexes)` checkingRyuta Kamizono2016-10-031-14/+9
* | Quote table name properlyRyuta Kamizono2016-10-141-2/+5
|/
* improve error message when include assertions failMichael Grosser2016-09-161-8/+8
* Add three new rubocop rulesRafael Mendonça França2016-08-161-4/+4
* modernizes hash syntax in activerecordXavier Noria2016-08-061-7/+7
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-25/+25