Point of sale exercise using ActiveRecord.