record_environment()
Stores the current environment in the database.
# File activerecord/lib/active_record/migration.rb, line 1190 def record_environment return if down? ActiveRecord::InternalMetadata[:environment] = ActiveRecord::Migrator.current_environment end