Skip to content

Commit

Permalink
change cache setting
Browse files Browse the repository at this point in the history
  • Loading branch information
sasata299 committed Jul 12, 2009
1 parent 083173c commit f61a9de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion config/environment.rb
Expand Up @@ -75,7 +75,6 @@
# which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create")
# config.action_controller.session_store = :active_record_store
config.action_controller.page_cache_directory = "#{RAILS_ROOT}/public/cache"

# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,
Expand Down
2 changes: 1 addition & 1 deletion config/environments/development.rb
Expand Up @@ -11,7 +11,7 @@
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false
1 change: 1 addition & 0 deletions config/environments/production.rb
Expand Up @@ -17,6 +17,7 @@

# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
config.action_controller.page_cache_directory = "#{RAILS_ROOT}/public/cache"

# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false

0 comments on commit f61a9de

Please sign in to comment.