aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapter_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-1/+1
* Remove Relation#bind_paramsSean Griffin2015-01-271-2/+2
* Don't test invalid log encoding against PostgreSQL adapterRafael Mendonça França2015-01-021-4/+6
* Merge pull request #8547 from printercu/patch-1Rafael Mendonça França2015-01-021-0/+8
|\
* | Add where condition so select_one returns the correct record.Zuhao Wan2014-07-281-1/+1
* | Remove dead test code for unsupported adaptersSean Griffin2014-05-171-13/+9
* | We can conditional define the tests depending on the adapter orRajarshi Das2014-04-021-7/+5
* | Add a test case for save(validate:false) with invalid foreign key.Lauro Caetano2014-03-271-1/+15
* | Use teardown helper method.Guo Xiang Tan2014-03-141-1/+1
* | Fix regression on `.select_*` methods.Arthur Neves2014-01-301-0/+23