old app.rb