Hi all, I want to synchronise contacts in a rails DB with a legacy MySQL table that is in use with a Perl CGI app. A straight import isn''t really good enough, it needs to be something that can be run every so often and import new contacts, ideally changed contacts as well. I''m new to Rails - is there any infrastructure for this task or do I need to code it from scratch? Should I even be looking to do this in Rails? -- Antony Gelberg | Open Source Consultancy Wayforth | Software Development 020 7247 1011 | Website Design http://www.wayforth.co.uk | Peace-of-mind Support --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Antony Gelberg wrote:> Hi all, > > I want to synchronise contacts in a rails DB with a legacy MySQL table > that is in use with a Perl CGI app. A straight import isn''t really good > enough, it needs to be something that can be run every so often and > import new contacts, ideally changed contacts as well. > > I''m new to Rails - is there any infrastructure for this task or do I > need to code it from scratch? Should I even be looking to do this in Rails?Use Observer (http://api.rubyonrails.org/classes/ActiveRecord/Observer.html) for Rails DB to legacy DB sync. For the other way round you have to implement something in the Perl CGI app. -- Sava Chankov --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---