mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Clarify migration to ApplicationRecord in upgrade guides [ci skip]
This commit is contained in:
parent
72c1122a17
commit
9f8de63783
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue