Update app.rb with domain helper