method

current_environment

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

current_environment()
public

No documentation available.

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