From: Logan Capaldo Date: 2006-07-22T02:01:24+09:00 Subject: Re: [ANN] Mongoose 0.2.0 On Jul 21, 2006, at 12:49 PM, Jamey Cribbs wrote: > You can download it from: http://rubyforge.org/projects/mongoose/ > > *What's New* > > Thanks, to Ezra Zygmuntowicz, this release features a much cleaner > query language, so I decided to get this out before anyone gets too > used to the old version. Ezra pointed out how I could eliminate > having to pass the table's class as a block parameter to the query, > and also eliminate having to qualify every column name in the query > with the table's class. So, a query that looked like this: > > Plane.find do |plane| > plane.speed > 350 > plane.any do > plane.country == 'USA' plane.country == 'Great Britain' > end > end > > Now, looks like this: > > Plane.find do > speed > 350 > any do > country == 'USA' > country == 'Great Britain' > end > end > > Much cleaner. Thanks Ezra! > > Also, Ezra contributed a Table.create method and Logan Capaldo > contributed a fix to eliminate a string eval. There is a new > example script from Daniel Sheppard showing how to integrate > ActiveRecord validations into Mongoose. Plus the usual code > cleanup and bug fixes. > > *What is Mongoose?* > > Mongoose is a database management system written in Ruby. It has > an ActiveRecord-like interface, uses Skiplists for its indexing, > and Marshal for its data serialization. I named it Mongoose, > because, like Rudyard Kipling's Rikki-Tikki-Tavi, my aim is for it > to be small, quick, and friendly. > > You can find rudimentary documentation in the README file and some > sample scripts in the example directory. > > Jamey Cribbs > jcribbs@netpromi.com > I'm just too slow with sending in my patches. ;)