I have 2 rails applications (version 4.0 and 4.1) which have their own database and a secound db-connector to the other database. Both apps have a login-form and now I want to share the session.
In both apps I added the activerecord-session_store gem and in the config/initializers/seesion_store.rb file I set session_store to active_record_store.
How can I tell one app that it use the other database (not the default db-connector) to store the session?
Is there a way to share sessions with cookies? Both apps have different URLs.
I'm looking forward to your reply.