Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Set ActiveRecord to not load, given we're not using a database.
  • Loading branch information
notahat committed Jun 24, 2008
1 parent 1a6b8c3 commit 1d6d77e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
19 changes: 0 additions & 19 deletions config/database.yml

This file was deleted.

2 changes: 1 addition & 1 deletion config/environment.rb
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions config/initializers/new_rails_defaults.rb
Expand Up @@ -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
Expand Down

0 comments on commit 1d6d77e

Please sign in to comment.