Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Use Devise for two different application in separate machines

Rails • Asked by ang nickolas

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?

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.