On Fri, Jun 15, 2007 at 01:00:46AM +0200, Seggy Umboh wrote: > Oh yeah I had that too, I just added another extension to create the > directory if it does not exist. It might be more correct to rebuild the > index for the model instead of just creating an empty directory, I'm not > sure. > > Right now, I have moved back to the gem for production use so > unfortunately I don't have the code that I used to do the above. > > > Joerg Diekmann wrote: > > Did it all, but the trunk version complains that it cannot find my > > index/test/my_model directory when I run the test ... :-(
I usually run Model.rebuild_index once per test class, or even in set_up before every test method. That will create the index dir. However the directory should be created by aaf automatically, I just committed a fix for this. Jens -- Jens Krämer webit! Gesellschaft für neue Medien mbH Schnorrstraße 76 | 01069 Dresden Telefon +49 351 46766-0 | Telefax +49 351 46766-66 [EMAIL PROTECTED] | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

