On 5/6/05, Ilias Lazaridis <ilias / lazaridis.com> wrote: > Aredridel wrote: > > On 5/6/05, Ilias Lazaridis <ilias / lazaridis.com> wrote: > > > >>I've finished a non-intrusive extension to og (addition of one file, > >>"og-evolve.rb", no original source code touched), which enables > >>automated schema evolution (currently sqlite3 adapter). > >> > >>require 'og' > >>require 'og-evolve' > > > > Interesting. I'll try if if I get a chance. > > ok. > > >>you can disable the extension by simply removing the "require > >>'og-evolve'" statement (using "method rename), having the old behaviour > >>back. > > > > "method rename? > > sorry. > > "method rename" > > full text: I'm using ruby's "method rename" ( or more concise: > alias_method ) to keep the extension non-intrusive to the existen sources. > > [I like that ruby!] > Aha. I'm interested to see how it integrates. method_alias is a good thing. I sometimes wish it were more powerful, but it's a good tool.