Merge pull request #43622 from ivan-denysov/patch-1
This commit is contained in:
commit
f5a7d2e266
@ -1766,7 +1766,7 @@ and in `app/controllers/comments_controller.rb`:
|
||||
end
|
||||
```
|
||||
|
||||
Within the `article` model, after running a migration to add a `status` column, you would add:
|
||||
Within the `article` model, after running a migration to add a `status` column using `bin/rails db:migrate` command, you would add:
|
||||
|
||||
```ruby
|
||||
class Article < ApplicationRecord
|
||||
|
Loading…
Reference in New Issue
Block a user