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:49:49 -0700 2008
commit  c4038764d2b4c05178cceb22066e0ece59fe49d2
tree    ebead289503a9ad54ca6de65dc1490574e701620
parent  eaab895f83276674891227c656df9b4cebc50200
...
767
768
769
 
770
771
772
...
767
768
769
770
771
772
773
0
@@ -767,6 +767,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