diff options
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb index 3a53b59d1a..adb60cd49f 100644 --- a/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb @@ -47,7 +47,7 @@ module ActiveRecord def parse_config!(config) config[:database] ||= config[:dbfile] # Require database. - unless config.has_key?(:database) + unless config[:database] raise ArgumentError, "No database file specified. Missing argument: database" end |