mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix documentation about ApplicationRecord
[ci skip]
This commit is contained in:
parent
79ac05f553
commit
cbbb89f1c9
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ What if you need to follow a different naming convention or need to use your
|
|||
Rails application with a legacy database? No problem, you can easily override
|
||||
the default conventions.
|
||||
|
||||
`ApplicationRecord` inherits from `ActionController::Base`, which defines a
|
||||
`ApplicationRecord` inherits from `ActiveRecord::Base`, which defines a
|
||||
number of helpful methods. You can use the `ActiveRecord::Base.table_name=`
|
||||
method to specify the table name that should be used:
|
||||
|
||||
|
|
Loading…
Reference in a new issue