The actual script for the migration could be done using basic ORM framework
(AR, DataMapper, etc) operations like select and update/insert, depending on
your schema.

That script could be called from a rake task or from a script/runner, as
previously mentioned.


On Fri, Dec 5, 2008 at 7:37 PM, liquid_rails <[EMAIL PROTECTED]>wrote:

>
> Thanks, but I don't even know how to write the script or the code for
> moving the records.  Do you know of any websites or books that could
> show me how to do this?
> Thanks!
>
> On Dec 5, 11:34 am, Phlip <[EMAIL PROTECTED]> wrote:
> > John Bresnik wrote:
> > > Put the code for moving records in a custom rake task and then call the
> > > rake task from cron..
> >
> > Might be overkill! Just write a script and call it with script/runner...
> >
> > (that's easier to test, too...;)
> >
>


-- 
Att,
- Caike

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to