method

require_environment!

rails latest stable - Class: Rails::Command::Actions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

require_environment!()
public

No documentation available.

# File railties/lib/rails/command/actions.rb, line 26
      def require_environment!
        if defined?(APP_PATH)
          Rails.application.require_environment!
        end
      end