method
for_current_env?
v6.1.7.7 -
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 71
def for_current_env?
env_name == ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
end