Skip to content

Commit

Permalink
SQLite: drop support for 'dbfile' option in favor of 'database.'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Aug 2, 2009
1 parent 62fd1d3 commit cdf60e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions activerecord/CHANGELOG
@@ -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'
Expand Down
Expand Up @@ -27,7 +27,6 @@ def sqlite_connection(config) # :nodoc:

private
def parse_sqlite_config!(config)
config[:database] ||= config[:dbfile]
# Require database.
unless config[:database]
raise ArgumentError, "No database file specified. Missing argument: database"
Expand Down

0 comments on commit cdf60e4

Please sign in to comment.