Reformatted app.rb