From 6c42c142e2a41e6b9b05cfc2d7e1d316c38869c8 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Fri, 11 Feb 2011 00:46:20 +0530 Subject: [PATCH] fix incorrect version in deprecation message Signed-off-by: Santiago Pastorino --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index ac82cc1b9a772..461007fd80b86 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1286,7 +1286,7 @@ def set_sequence_name(value = nil, &block) # Turns the +table_name+ back into a class name following the reverse rules of +table_name+. def class_name(table_name = table_name) # :nodoc: - ActiveSupport::Deprecation.warn("ActiveRecord::Base#class_name is deprecated and will be removed in Rails 2.3.9.", caller) + ActiveSupport::Deprecation.warn("ActiveRecord::Base#class_name is deprecated and will be removed in Rails 3.", caller) # remove any prefix and/or suffix from the table name class_name = table_name[table_name_prefix.length..-(table_name_suffix.length + 1)].camelize