Permalink
Browse files

Remove useless check of adapter

  • Loading branch information...
1 parent 379b110 commit e8b809070d4a669410a621db70b184d97e29fa3e @oscardelben oscardelben committed May 16, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −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

0 comments on commit e8b8090

Please sign in to comment.