diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-05-15 20:48:51 -0700 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-05-15 20:48:51 -0700 |
commit | e8b809070d4a669410a621db70b184d97e29fa3e (patch) | |
tree | e4ca4882e6c9582625e46e8a6678822abfd1b3d6 /activerecord | |
parent | 379b1107d3fa305c675caecfb7a39d2a7d74f135 (diff) | |
download | rails-e8b809070d4a669410a621db70b184d97e29fa3e.tar.gz rails-e8b809070d4a669410a621db70b184d97e29fa3e.tar.bz2 rails-e8b809070d4a669410a621db70b184d97e29fa3e.zip |
Remove useless check of adapter
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb index 5b9c9770df..a29fbbbc49 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb @@ -21,10 +21,6 @@ module ActiveRecord 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 |