提交 20f049fb 编写于 作者: P Piotr Sarnacki

Merge pull request #6346 from oscardelben/patch-9

Remove useless check of adapter
......@@ -21,10 +21,6 @@ def sqlite3_connection(config) # :nodoc:
config[:database] = File.expand_path(config[:database], Rails.root)
end
unless 'sqlite3' == config[:adapter]
raise ArgumentError, 'adapter name should be "sqlite3"'
end
db = SQLite3::Database.new(
config[:database],
:results_as_hash => true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册