You can have a look at DataMapper. That's also for Ruby but it's not specific for SQL, if I recall correctly. Have a look at some ORM library written in Scala, I would guess they can be quite innovative and it's statically typed.http://squeryl.org/index.html http://datamapper.org/
Those libraries definitely look interesting. I should probably consider some type of NoSQL database support...
Thanks for the links!
