aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activerecord/lib/active_record/database_configurations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/database_configurations.rb b/activerecord/lib/active_record/database_configurations.rb
index 9aabde676a..9ff63c6e10 100644
--- a/activerecord/lib/active_record/database_configurations.rb
+++ b/activerecord/lib/active_record/database_configurations.rb
@@ -10,6 +10,7 @@ module ActiveRecord
# application's database configuration hash or url string.
class DatabaseConfigurations
attr_reader :configurations
+ delegate :any?, to: :configurations
def initialize(configurations = {})
@configurations = build_configs(configurations)