diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-11-06 03:42:16 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-11-06 03:42:16 +0900 |
commit | 81e16dad6c151611d0c1e5fd7927378d58e6344a (patch) | |
tree | 49437688e98bcc42e8843d566926f7c0e4f6cccd /activerecord | |
parent | 95ea51e97bd758591d13d3bf27682d83a15bd1aa (diff) | |
download | rails-81e16dad6c151611d0c1e5fd7927378d58e6344a.tar.gz rails-81e16dad6c151611d0c1e5fd7927378d58e6344a.tar.bz2 rails-81e16dad6c151611d0c1e5fd7927378d58e6344a.zip |
Erubis is not actually used in AR
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/support/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/support/config.rb b/activerecord/test/support/config.rb index d0717f7b34..5817e427e3 100644 --- a/activerecord/test/support/config.rb +++ b/activerecord/test/support/config.rb @@ -1,5 +1,5 @@ require "yaml" -require "erubis" +require "erb" require "fileutils" require "pathname" @@ -20,7 +20,7 @@ module ARTest FileUtils.cp TEST_ROOT + "/config.example.yml", config_file end - erb = Erubis::Eruby.new(config_file.read) + erb = ERB.new(config_file.read) expand_config(YAML.parse(erb.result(binding)).transform) end |