GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of lifo/doc-rails
Description: Repository for improving Rails documentation
Homepage: http://www.rubyonrails.org
Clone URL: git://github.com/zmalltalker/doc-rails.git
fixed-width font for symbols in AC::SessionManagement docs
Xavier Noria (author)
Thu Apr 10 14:01:52 -0700 2008
commit  708da65852619797588a1b8e6a770e686b9b4869
tree    cfbe37222e65d2bd914df54b59ffef9ca6243ba5
parent  52396b8cd85341656639a4b97af66d7d0a2dc4de
...
16
17
18
19
20
21
 
 
 
 
 
22
23
24
...
16
17
18
 
 
 
19
20
21
22
23
24
25
26
0
@@ -16,9 +16,11 @@ module ActionController #:nodoc:
0
     end
0
 
0
     module ClassMethods
0
- # Set the session store to be used for keeping the session data between requests. By default, sessions are stored
0
- # in browser cookies (:cookie_store), but you can also specify one of the other included stores
0
- # (:active_record_store, :p_store, drb_store, :mem_cache_store, or :memory_store) or your own custom class.
0
+ # Set the session store to be used for keeping the session data between requests.
0
+ # By default, sessions are stored in browser cookies (<tt>:cookie_store</tt>),
0
+ # but you can also specify one of the other included stores (<tt>:active_record_store</tt>,
0
+ # <tt>:p_store</tt>, <tt>:drb_store</tt>, <tt>:mem_cache_store</tt>, or
0
+ # <tt>:memory_store</tt>) or your own custom class.
0
       def session_store=(store)
0
         ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:database_manager] =
0
           store.is_a?(Symbol) ? CGI::Session.const_get(store == :drb_store ? "DRbStore" : store.to_s.camelize) : store

Comments

    No one has commented yet.