method

current_environment

rails latest stable - Class: ActiveRecord::Migrator

Method deprecated or moved

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

current_environment()
private

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 1279
      def self.current_environment
        ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
      end