lib/combustion/databases/sqlite.rb in combustion-1.3.0 vs lib/combustion/databases/sqlite.rb in combustion-1.3.1
- old
+ new
@@ -6,11 +6,11 @@
class Combustion::Databases::SQLite < Combustion::Databases::Base
private
def create
if exists?
- warn "#{config["database"]} already exists"
+ warn "#{config[:database]} already exists"
return
end
establish_connection configuration
connection
@@ -30,8 +30,8 @@
def file
@file ||= path.absolute? ? path.to_s : File.join(Rails.root, path)
end
def path
- @path ||= Pathname.new configuration["database"]
+ @path ||= Pathname.new configuration[:database]
end
end