Removed deprecated lines from application.rb