PostgreSQL user defined types support for Active Record