a pos system in ruby that utilizes active-record