Sharing a database


I’m creating two rails applications lets call them appA and appB. They
each be running on a subdomin like

I need a way to share the User table so the login/passwords will work of
both. I’d also like to keep the app DRY and not have to
repeat the Account Controller in each app. My first thought was to
create a
3rd application and subdomin for account stuff only. So it would be and each application would use its User table.

What do you think? Has anyone had the same problem?

Jonathan Spooner

On 20 Dec 2007, at 16:04, Jonathan Spooner wrote:

We had a similar situation and ended up going down the route of having
a 3rd authentication application.


On 20 Dec 2007, at 17:04, Jonathan Spooner wrote:

What do you think? Has anyone had the same problem?
Either openid or activeresource (and indeed a third application)
could do the job here.

Best regards

Peter De Berdt

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs