Pseudo-ORM for Ruby/Rails