diff options
author | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-13 16:56:04 -0700 |
---|---|---|
committer | Carl Lerche & Yehuda Katz <wycats@gmail.com> | 2009-04-13 16:56:04 -0700 |
commit | 647b83d50cba655422bcb83815f618b5a92bfc7d (patch) | |
tree | 72ea7eaf5344a19161c59812707b3055d98adfbe /actionpack/lib/action_view | |
parent | 906aebceedb95d8caa6db6314bc90f605bdfaf2b (diff) | |
download | rails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.gz rails-647b83d50cba655422bcb83815f618b5a92bfc7d.tar.bz2 rails-647b83d50cba655422bcb83815f618b5a92bfc7d.zip |
Resurrecting 1.9 compatibility.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/template/renderable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/renderable.rb b/actionpack/lib/action_view/template/renderable.rb index 0e8e0c4a38..2da5b742aa 100644 --- a/actionpack/lib/action_view/template/renderable.rb +++ b/actionpack/lib/action_view/template/renderable.rb @@ -64,7 +64,7 @@ module ActionView end_src begin - ActionView::Base::CompiledTemplates.module_eval(source, filename, 0) + ActionView::Base::CompiledTemplates.module_eval(source, filename.to_s, 0) rescue Exception => e # errors from template code if logger = defined?(ActionController) && Base.logger logger.debug "ERROR: compiling #{render_symbol} RAISED #{e}" |