SQLite: drop support for 'dbfile' option in favor of 'database.'

This commit is contained in:
Jeremy Kemper
2009-08-01 18:15:52 -07:00
parent 62fd1d3716
commit cdf60e46cc
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
*Edge*
* SQLite: drop support for 'dbfile' option in favor of 'database.' #2363 [Paul Hinze, Jeremy Kemper]
* Added :primary_key option to belongs_to associations. #765 [Szymon Nowak, Philip Hallstrom, Noel Rocha]
# employees.company_name references companies.name
Employee.belongs_to :company, :primary_key => 'name', :foreign_key => 'company_name'

View File

@@ -27,7 +27,6 @@ module ActiveRecord
private
def parse_sqlite_config!(config)
config[:database] ||= config[:dbfile]
# Require database.
unless config[:database]
raise ArgumentError, "No database file specified. Missing argument: database"