From 897ffd63d2ee33808eb68173409bcf1047930535 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Tue, 24 Oct 2006 17:14:50 +0000 Subject: Use new deprecate syntax so that alternatives are given with the warning git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/number_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers/number_helper.rb') diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionpack/lib/action_view/helpers/number_helper.rb index 3dfcbbdccb..979ba03f0c 100644 --- a/actionpack/lib/action_view/helpers/number_helper.rb +++ b/actionpack/lib/action_view/helpers/number_helper.rb @@ -149,7 +149,7 @@ module ActionView end alias_method :human_size, :number_to_human_size # deprecated alias - deprecate :human_size + deprecate :human_size => :number_to_human_size end end end -- cgit v1.2.3