Modified application.rb as the previous fix did not work.