diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
commit | 01ab6f961bff150d50c99f03fa3946f48ac29b17 (patch) | |
tree | 01074398b0f2ffbeaf5d5e44ba7d22f7b7abadeb /actionpack/lib/action_view/template/inline.rb | |
parent | aa508c9baf031d0bb28e6e8f061d731cdd77ecbd (diff) | |
download | rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.gz rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.bz2 rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.zip |
Remove :cache => true on lookup templates initialization.
Diffstat (limited to 'actionpack/lib/action_view/template/inline.rb')
-rw-r--r-- | actionpack/lib/action_view/template/inline.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/lib/action_view/template/inline.rb b/actionpack/lib/action_view/template/inline.rb deleted file mode 100644 index be08065b6b..0000000000 --- a/actionpack/lib/action_view/template/inline.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'digest/md5' - -module ActionView - class Template - class Inline < ::ActionView::Template - def initialize(source, handler, options={}) - super(source, "inline template", handler, options) - end - - def md5_source - @md5_source ||= Digest::MD5.hexdigest(source) - end - - def eql?(other) - other.is_a?(Inline) && other.md5_source == md5_source - end - end - end -end -
\ No newline at end of file |