Skip to content

Commit f5dea14

Browse files
authoredApr 10, 2018
Add example
1 parent 553a125 commit f5dea14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎README.md

+4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ $ rake db:migrate
5454
```
5555
NOTE: remember to edit the migration and set `:archived` column to default to `false` in order to simplify querying for non-archived models.
5656

57+
```
58+
add_column :users, :archived, :boolean, default: false
59+
```
60+
5761
### Application Routes
5862

5963
In your routes file (`config/routes.rb`):

0 commit comments

Comments
 (0)
Please sign in to comment.