Sharing a database

Hi,

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

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
account.domin.com and each application would use its User table.

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

Thanks,
Jonathan Spooner

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

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

Fred

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