method
for_current_env?
v7.2.3 -
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 91
def for_current_env?
env_name == ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
end