Skip to content

Commit

Permalink
Remove useless check of adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardelben committed May 16, 2012
1 parent 379b110 commit e8b8090
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8b8090

Please sign in to comment.