diff options
-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: |