January 12, 2008 @ 02:17 PM
ActiveDocument
This is just a quick post, but I’ve started playing around with thrudb, and naturally, writing a ruby library for it. It’s still incredibly rough. The indexing code is busted since I started testing with a mock manager class instead of the actual thing, so about all it does is saves and fetches records at the moment.
You can get the code from:
git://git.caboo.se/activedocument.git.
Note: I have an experimental json branch and a sample app to pit the 2 data stores against each other.

by Joe Petviashvili on 14 Jan 11:32
Is there any way to make all these active* behave the same? ActiveResource, ActiveRecord, and now this one? What about things like validations, can they be shared across different backend types?
by rick on 14 Jan 13:18
We’ll be extracting the common model features into ActiveModel for all of them so that you can do just that. For now though, thrudb still isn’t “production ready”, and ActiveDocument itself is pretty experimental still.