diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-14 00:23:34 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-14 00:23:34 +0000 |
commit | 9982578efb5834a30381b51063fcf347540a0fd3 (patch) | |
tree | ee213c9ab6553d793b9dc454c295802dbfb3ac01 /activerecord/lib | |
parent | 9790233dfda048f80bf5bb4ffe8b89c04723c9aa (diff) | |
download | rails-9982578efb5834a30381b51063fcf347540a0fd3.tar.gz rails-9982578efb5834a30381b51063fcf347540a0fd3.tar.bz2 rails-9982578efb5834a30381b51063fcf347540a0fd3.zip |
Doc fix #805
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-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 |