On Mar 30, 10:10 am, Heinz Strunk <li...@ruby-forum.com> wrote:
> Hey folks,
>
> I have two different Rails apps and I would like t o sync the user
> databases. What's the best way to do that? I thought of whenever someone
> registers with one app the user information is posted to the other app
> and vice versa. What would you use for that? JSON? Sinatra?
>
> Thanks for the help!
>
> --
> Posted viahttp://www.ruby-forum.com/.
Are you talking about the whole database or just the users table? The
way I read your post it looks like you just want to validate users and
keep only one table for all users. If that is the case why not set up
a connection in the application that does not own the users table that
is only used by the User model? That should be enough to give you
access to the user information you might need.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment