method
for_current_env?
v8.1.1 -
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 95
def for_current_env?
env_name == ActiveRecord::ConnectionHandling::DEFAULT_ENV.call
end