management receipts using Ruby on Rails 4.1.2