diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-14 20:02:59 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-14 20:02:59 -0500 |
commit | 001c8beb4d0999a858a8b52ad511ee1251cc3517 (patch) | |
tree | 42e63d3b3b6b9782524d55147d690e4d16c176d0 /actionpack/lib/action_view/renderable_partial.rb | |
parent | dd41f66af577947ad420fbd2a44184344ad5c983 (diff) | |
download | rails-001c8beb4d0999a858a8b52ad511ee1251cc3517.tar.gz rails-001c8beb4d0999a858a8b52ad511ee1251cc3517.tar.bz2 rails-001c8beb4d0999a858a8b52ad511ee1251cc3517.zip |
memorize typo
Diffstat (limited to 'actionpack/lib/action_view/renderable_partial.rb')
-rw-r--r-- | actionpack/lib/action_view/renderable_partial.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/renderable_partial.rb b/actionpack/lib/action_view/renderable_partial.rb index d2fe635b9c..fdb1a5e6a7 100644 --- a/actionpack/lib/action_view/renderable_partial.rb +++ b/actionpack/lib/action_view/renderable_partial.rb @@ -8,12 +8,12 @@ module ActionView def variable_name name.sub(/\A_/, '').to_sym end - memorize :variable_name + memoize :variable_name def counter_name "#{variable_name}_counter".to_sym end - memorize :counter_name + memoize :counter_name def render(view, local_assigns = {}) ActionController::Base.benchmark("Rendered #{path_without_format_and_extension}", Logger::DEBUG, false) do |