From c21fdf31a52cbe507ff675815c29e5eef39e0bbb Mon Sep 17 00:00:00 2001
From: David Heinemeier Hansson <david@loudthinking.com>
Date: Sun, 30 Oct 2005 08:10:04 +0000
Subject: Changed :dbfile to :database for SQLite adapter for consistency (old
 key still works as an alias) (closes #2644) [Dan Peterson]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 activerecord/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activerecord/README')

diff --git a/activerecord/README b/activerecord/README
index 300ce8a495..bffa2ab65d 100755
--- a/activerecord/README
+++ b/activerecord/README
@@ -165,7 +165,7 @@ A short rundown of the major features:
 
 * Database abstraction through simple adapters (~100 lines) with a shared connector
 
-   ActiveRecord::Base.establish_connection(:adapter => "sqlite", :dbfile => "dbfile")
+   ActiveRecord::Base.establish_connection(:adapter => "sqlite", :database => "dbfile")
 
    ActiveRecord::Base.establish_connection(
      :adapter  => "mysql", 
-- 
cgit v1.2.3