Skip to content
This repository
Browse code

fix incorrect version in deprecation message

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
commit 6c42c142e2a41e6b9b05cfc2d7e1d316c38869c8 1 parent abc06a2
Vijay Dev authored February 11, 2011 spastorino committed February 20, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  activerecord/lib/active_record/base.rb
2  activerecord/lib/active_record/base.rb
@@ -1286,7 +1286,7 @@ def set_sequence_name(value = nil, &block)
1286 1286
 
1287 1287
       # Turns the +table_name+ back into a class name following the reverse rules of +table_name+.
1288 1288
       def class_name(table_name = table_name) # :nodoc:
1289  
-        ActiveSupport::Deprecation.warn("ActiveRecord::Base#class_name is deprecated and will be removed in Rails 2.3.9.", caller)
  1289
+        ActiveSupport::Deprecation.warn("ActiveRecord::Base#class_name is deprecated and will be removed in Rails 3.", caller)
1290 1290
 
1291 1291
         # remove any prefix and/or suffix from the table name
1292 1292
         class_name = table_name[table_name_prefix.length..-(table_name_suffix.length + 1)].camelize

0 notes on commit 6c42c14

Please sign in to comment.
Something went wrong with that request. Please try again.