mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix missing require of reverse_merge extension
The private method `#raw_config` in `ConnectionUrlResolver` uses `Hash#reverse_merge`, which is an `ActiveSupport` core extension. This fixes an error NoMethodError: undefined method `reverse_merge' for {}:Hash in code that uses `ActiveRecord` without having previously loaded the `reverse_merge`.
This commit is contained in:
parent
3f13828392
commit
fad0fcc65b
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
require "uri"
|
||||
require "active_support/core_ext/enumerable"
|
||||
require "active_support/core_ext/hash/reverse_merge"
|
||||
|
||||
module ActiveRecord
|
||||
class DatabaseConfigurations
|
||||
|
|
Loading…
Reference in a new issue