Permalink
Browse files

Set ActiveRecord to not load, given we're not using a database.

  • Loading branch information...
1 parent 1a6b8c3 commit 1d6d77ec1b04cb642ff3bcaf0449dba23203b8d5 @notahat committed Jun 24, 2008
Showing with 3 additions and 22 deletions.
  1. +0 −19 config/database.yml
  2. +1 −1 config/environment.rb
  3. +2 −2 config/initializers/new_rails_defaults.rb
View
@@ -1,19 +0,0 @@
-# SQLite version 3.x
-# gem install sqlite3-ruby (not necessary on OS X Leopard)
-development:
- adapter: sqlite3
- database: db/development.sqlite3
- timeout: 5000
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
-test:
- adapter: sqlite3
- database: db/test.sqlite3
- timeout: 5000
-
-production:
- adapter: sqlite3
- database: db/production.sqlite3
- timeout: 5000
View
@@ -18,7 +18,7 @@
# Skip frameworks you're not going to use. To use Rails without a database
# you must remove the Active Record framework.
- # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
+ config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
# Specify gems that this application depends on.
# They can then be installed with "rake gems:install" on new installations.
@@ -2,10 +2,10 @@
# for Rails 3. You can remove this initializer when Rails 3 is released.
# Include Active Record class name as root for JSON serialized output.
-ActiveRecord::Base.include_root_in_json = true
+# ActiveRecord::Base.include_root_in_json = true
# Store the full class name (including module namespace) in STI type column.
-ActiveRecord::Base.store_full_sti_class = true
+# ActiveRecord::Base.store_full_sti_class = true
# Use ISO 8601 format for JSON serialized times and dates.
ActiveSupport.use_standard_json_time_format = true

0 comments on commit 1d6d77e

Please sign in to comment.