diff options
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 6fdab32f73..7fbef9f07c 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -522,7 +522,7 @@ module ActiveRecord #:nodoc: # "mice" table. Example: # # class Mouse < ActiveRecord::Base - # table_name "mice" + # set_table_name "mice" # end def table_name table_name_prefix + undecorated_table_name(class_name_of_active_record_descendant(self)) + table_name_suffix |