Dual entry accounting framework

Is there a dual entry accounting framework in the wild somewhere for
RoR?

A starting point perhaps?

Craig