Forum: Ruby on Rails How to specify database for ActiveRecordStore?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Michael R. (Guest)
on 2006-06-09 19:25
Hi,

Is there a way to specify which database to use (other than the default)
for storing sessions via ActiveRecordStore?

I have a replication setup in MySQL with my application set to read from
the slave db, and don't want the sessions to be written there.

thanks.

-michael
This topic is locked and can not be replied to.