Flowdock
method

last_stored_environment

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: MigrationContext
last_stored_environment() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/migration.rb, line 1146
    def last_stored_environment
      return nil if current_version == 0
      raise NoEnvironmentInSchemaError unless ActiveRecord::InternalMetadata.table_exists?

      environment = ActiveRecord::InternalMetadata[:environment]
      raise NoEnvironmentInSchemaError unless environment
      environment
    end
Register or log in to add new notes.