diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 16:40:47 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 16:40:47 -0700 |
commit | a40e3c1a9604ab3737ad2465c8f6a6db0fe0cc78 (patch) | |
tree | 96fb74627482703b4b4ad93a9d4048a5ff81c677 /actionpack/lib | |
parent | 2eef53b163353898a0f96d559e3f80600eb6ba15 (diff) | |
download | rails-a40e3c1a9604ab3737ad2465c8f6a6db0fe0cc78.tar.gz rails-a40e3c1a9604ab3737ad2465c8f6a6db0fe0cc78.tar.bz2 rails-a40e3c1a9604ab3737ad2465c8f6a6db0fe0cc78.zip |
removing crazy finalizer code until there is proof that we need it
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/template.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/actionpack/lib/action_view/template.rb b/actionpack/lib/action_view/template.rb index a999a0b7d7..405e1736ba 100644 --- a/actionpack/lib/action_view/template.rb +++ b/actionpack/lib/action_view/template.rb @@ -101,14 +101,6 @@ module ActionView attr_reader :source, :identifier, :handler, :virtual_path, :formats, :original_encoding - Finalizer = proc do |method_name, mod| - proc do - mod.module_eval do - remove_possible_method method_name - end - end - end - def initialize(source, identifier, handler, details) @source = source @identifier = identifier @@ -253,7 +245,6 @@ module ActionView begin mod.module_eval(source, identifier, 0) - ObjectSpace.define_finalizer(self, Finalizer[method_name, mod]) method_name rescue Exception => e # errors from template code |