ruby unit library for rails using activerecord to store units