Wrong snippet in application.rb