aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapter_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* remove_index do not fetch indexes if name is specifiedSeva Orlov2016-04-241-0/+11
* Merge pull request #23522 from kamipo/add_value_too_long_exception_classJeremy Daer2016-04-181-0/+9
|\
| * Add `ActiveRecord::ValueTooLong` exception classRyuta Kamizono2016-02-061-0/+9
* | Add a test case for create a record with primary key as zeroRyuta Kamizono2016-03-301-0/+6
* | Fix tests failure with `prepared_statements: false`Ryuta Kamizono2016-02-291-1/+2
|/
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-2/+2
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-091-4/+21
* Deprecate exception#original_exception in favor of exception#causeYuki Nishijima2015-11-031-4/+12
* introduce `conn.data_source_exists?` and `conn.data_sources`.Yves Senn2015-09-221-0/+15
* Should test both mysql adaptersRyuta Kamizono2015-09-201-1/+1