method
for_current_env?
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::DatabaseConfigurations::DatabaseConfig
for_current_env?()public
No documentation available.
# File activerecord/lib/active_record/database_configurations/database_config.rb, line 32
def for_current_env?
env_name == ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
end