[Ruby] Activerecord for non sql backends

Chris Ochs chris at ochsnet.com
Sat Oct 27 00:01:45 PDT 2007


Been busy haven't had a chance to get back to some that emailed me about 
this, so a quick fyi on the progress.

I implemented a non sql driver for activerecord to see how it would go. 
It wasn't actually all that difficult once you find out how things work. 
Just thankful I don't have to touch some of the method_missing madness 
that's going on in there. In our case the driver makes http calls to our 
backend. I'm also working on adding the ability to make async calls. I 
did one implementation with cruby using evented mongrel and working on 
one for jruby right now. I'm also playing around with the ability to use 
multiple adapters, which makes more sense if you need to use sql and non 
sql backends at the same time.

The company I work for (Synaptic Mash) is very open to contributing a 
lot of our work back to the community, so hopefully this will turn into 
something others can use.

Chris




More information about the Ruby mailing list