mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Separate Action Dispatch and Action Pack sections in Configuration Guide.
This commit is contained in:
@@ -131,8 +131,6 @@ WARNING: Threadsafe operation is incompatible with the normal workings of develo
|
||||
|
||||
* +config.action_controller.relative_url_root+ can be used to tell Rails that you are deploying to a subdirectory. The default is +ENV['RAILS_RELATIVE_URL_ROOT']+.
|
||||
|
||||
* +config.action_dispatch.session_store+ sets the name of the store for session data. The default is +:cookie_store+; other valid options include +:active_record_store+, +:mem_cache_store+ or the name of your own custom class.
|
||||
|
||||
The caching code adds two additional settings:
|
||||
|
||||
* +ActionController::Base.page_cache_directory+ sets the directory where Rails will create cached pages for your web server. The default is +Rails.public_path+ (which is usually set to +Rails.root + "/public"+).
|
||||
@@ -147,6 +145,10 @@ The Active Record session store can also be configured:
|
||||
|
||||
* +ActiveRecord::SessionStore::Session.data_column_name+ sets the name of the column which stores marshaled session data. Defaults to +data+.
|
||||
|
||||
h4. Configuring Action Dispatch
|
||||
|
||||
* +config.action_dispatch.session_store+ sets the name of the store for session data. The default is +:cookie_store+; other valid options include +:active_record_store+, +:mem_cache_store+ or the name of your own custom class.
|
||||
|
||||
h4. Configuring Action View
|
||||
|
||||
There are only a few configuration options for Action View, starting with four on +ActionView::Base+:
|
||||
|
||||
Reference in New Issue
Block a user