Move block with require to application.rb