What is the best way to sync my rails model with an external database ?

I can use a callback on my model to update the external table. But in
the other direction, when the external db change some data and would
sync my activerecord model ? I can only think at a REST request of
update of some record. Or a cron sync script, problematic with large db.
There's better solutions ?

thanks.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to