public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
use cookie sessions instead
technoweenie (author)
Sat Feb 02 17:38:56 -0800 2008
commit  5aee2da93aa61c47509a337125c317da34bf8e6f
tree    e7cb87c307df72d6931aeb46cb6386c2a242514a
parent  a1329bde8030def40ed0cc227e34c14a2b43058f
...
31
32
33
34
 
 
35
36
37
...
31
32
33
 
34
35
36
37
38
0
@@ -31,7 +31,8 @@ Rails::Initializer.run do |config|
0
 
0
   # Use the database for sessions instead of the file system
0
   # (create the session table with 'rake create_sessions_table')
0
- config.action_controller.session_store = :active_record_store
0
+ # config.action_controller.session_store = :active_record_store
0
+ config.action_controller.session = { :session_key => "_mephisto_session", :secret => "bd088a0f5b476fe5a2c02653a93ed14a95a8396829ce4e726ee77553ab6438a98d0f3e6d80fc6b120370ba047f28e09f71543ae5f842365e5070e7db51fb2cb9" }
0
 
0
   # Make Active Record use UTC-base instead of local time
0
   config.active_record.default_timezone = :utc
...
9
10
11
12
 
13
14
15
...
161
162
163
164
165
166
167
168
169
170
171
172
173
174
...
9
10
11
 
12
13
14
15
...
161
162
163
 
 
 
 
 
 
 
 
164
165
166
0
@@ -9,7 +9,7 @@
0
 #
0
 # It's strongly recommended to check this file into your version control system.
0
 
0
-ActiveRecord::Schema.define(:version => 74) do
0
+ActiveRecord::Schema.define(:version => 75) do
0
 
0
   create_table "assets", :force => true do |t|
0
     t.string "content_type"
0
@@ -161,14 +161,6 @@ ActiveRecord::Schema.define(:version => 74) do
0
     t.integer "position", :default => 1
0
   end
0
 
0
- create_table "sessions", :force => true do |t|
0
- t.string "session_id"
0
- t.text "data"
0
- t.datetime "updated_at"
0
- end
0
-
0
- add_index "sessions", ["session_id"], :name => "sessions_session_id_index"
0
-
0
   create_table "sites", :force => true do |t|
0
     t.string "title"
0
     t.string "subtitle"

Comments

    No one has commented yet.