diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-16 17:23:56 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-16 17:23:56 -0200 |
commit | cbbb89f1c9edcf438625b10178c8b2faf6ef4114 (patch) | |
tree | 16a6bd106ded29f0ddfedd28310d5c66d49dbf8b /guides | |
parent | 79ac05f553977c5c520ddf6e59b7f5fc908e7363 (diff) | |
download | rails-cbbb89f1c9edcf438625b10178c8b2faf6ef4114.tar.gz rails-cbbb89f1c9edcf438625b10178c8b2faf6ef4114.tar.bz2 rails-cbbb89f1c9edcf438625b10178c8b2faf6ef4114.zip |
Fix documentation about ApplicationRecord
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_basics.md b/guides/source/active_record_basics.md index 8bd135ddd5..56f69f8f82 100644 --- a/guides/source/active_record_basics.md +++ b/guides/source/active_record_basics.md @@ -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: |