Ask A Question

Notifications

You’re not receiving notifications from this thread.

Use Devise for two different application in separate machines

ang nickolas asked in Rails
hi,

I am trying to have my devise database be used by two or more separate rails application.

 I have pointed my sub-application to use the main application devise database.
however, when i log in via my main application and then my sub-application.
the sub-application don't seem to automatically log in.

is this because devise is storing the session as cookies and hence the sub-application does not have access to the cookies?. if so, is it advisable to switch all my application to have their session stored in the database instead?



Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.