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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 20 Dec 2007, at 16:04, Jonathan Spooner wrote:> 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.We had a similar situation and ended up going down the route of having a 3rd authentication application. Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 20 Dec 2007, at 17:04, Jonathan Spooner wrote:> 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?Either openid or activeresource (and indeed a third application) could do the job here. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---