diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-08-16 06:56:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 06:56:22 -0300 |
commit | 05a35b5b636d545a670e256121d32b9903a756ec (patch) | |
tree | 6eb4f2e6f412545b2184a230eeb3e008e89511bd /guides | |
parent | c6900ce1bb3dc2daf7cd1ecfdeeb276f2e9645b5 (diff) | |
parent | 9f8de637839c38ac8cb652e3bde7ecc92cc85d33 (diff) | |
download | rails-05a35b5b636d545a670e256121d32b9903a756ec.tar.gz rails-05a35b5b636d545a670e256121d32b9903a756ec.tar.bz2 rails-05a35b5b636d545a670e256121d32b9903a756ec.zip |
Merge pull request #26175 from stomar/upgrade-guide-fix
Clarify migration to ApplicationRecord in upgrade guides [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md index 8fcbf3ed4b..a8afa0ca6e 100644 --- a/guides/source/upgrading_ruby_on_rails.md +++ b/guides/source/upgrading_ruby_on_rails.md @@ -94,6 +94,8 @@ class ApplicationRecord < ActiveRecord::Base end ``` +Then make sure that all your models inherit from it. + ### Halting Callback Chains via `throw(:abort)` In Rails 4.2, when a 'before' callback returns `false` in Active Record |