Simple accounting application in Ruby on Rails