提交 e8b80907 编写于 作者: O Oscar Del Ben

Remove useless check of adapter

上级 379b1107
......@@ -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.
先完成此消息的编辑!
想要评论请 注册