diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-29 12:22:08 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-29 12:22:08 +0900 |
commit | 8d7554e919b8350eba6e675cb24ae28f4e915ee5 (patch) | |
tree | 13154082016381986e4ff4c67661bfbb2a1fc1de /activerecord/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb | |
parent | e4ad3b26d946d56907e64e767b607f53be73d458 (diff) | |
download | rails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.tar.gz rails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.tar.bz2 rails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.zip |
Fix tests failure with `prepared_statements: false`
Some tests does not work for unprepared statements.
Add `if ActiveRecord::Base.connection.prepared_statements` and fix a
regex for fix tests failure with `prepared_statements: false`.
Diffstat (limited to 'activerecord/test/migrations/valid_with_subdirectories/1_valid_people_have_last_names.rb')
0 files changed, 0 insertions, 0 deletions