writing a custom DB adapter

Hi There. Does anybody know of a resource explaining how to write a rails adapter for a custom (say, a funky flavour of SQL, or even non-SQL) database?

Thanks Kretch

Read the code of the existing adapters, or any specific one that comes close to what you're trying to do. If you want to write your own adapter that's at least as deep as you'll have to dive into the code that's already there.

Michael