public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Initializer requires ERB explicitly instead of assuming Action Pack loaded it.  
[#722 state:resolved]
josevalim (author)
Wed Jul 30 01:49:49 -0700 2008
jeremy (committer)
Wed Jul 30 01:50:08 -0700 2008
commit  af92dc53a830a4639d38df79048f1a30a89dd38a
tree    21168f09bf0362cc9fa83848416c3e9fc75d70cc
parent  f93e73782e9a0e19e4640c9729022e0452b91fc8
...
707
708
709
 
710
711
712
...
707
708
709
710
711
712
713
0
@@ -707,6 +707,7 @@ Run `rake gems:install` to install the missing gems.
0
     # contents of the file are processed via ERB before being sent through
0
     # YAML::load.
0
     def database_configuration
0
+      require 'erb'
0
       YAML::load(ERB.new(IO.read(database_configuration_file)).result)
0
     end
0
 

Comments