Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6346 from oscardelben/patch-9

Remove useless check of adapter
  • Loading branch information...
commit 20f049fb50daee0c5e5a69b55b529af5737e8e3f 2 parents 379b110 + e8b8090
@drogus drogus authored
View
4 activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.