Forum: Ruby Re: How do I do this in ruby?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Piet H. (Guest)
on 2005-12-19 13:32
(Received via mailing list)
You could make 2 scripts:

One that downloads the stats to your local db.
One that deletes the new records it finds in your local db from your
remote
db, that way you're sure nothing gets deleted from the online/remote db
unless it really exists in your local db.

That's how I'd do it (not really fancy, I know...)

Piet.
This topic is locked and can not be replied to.