mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Doc fix #805
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user