I strongly recommend switching to cookie store, which is the default
on Rails 2 (and thus Heroku). This completely eliminates the need to
do any housekeeping at all.
For those that don't know, you can manage this by commenting out or
deleting any line that looks like this:
# config.action_controller.session_store = :active_record_store
And then making sure you have a configuration block for the cookie
encryption, i.e.:
config.action_controller.session = {
:session_key => '_myapp_session',
:secret =>
'dfbce3137f38d82a2cbb9d2ca841c3db13c0cddf5f998c55c0c3784dd682ec2ea29d77cc47bc1be8c3e5560273ff00d8c94691cceb6b60eaa93f6fd9208fe590'
}
You can also grab an environment.rb from a freshly created app and
that will be configured this way.
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---