Point of sale system using Ruby and ActiveRecord