Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mechanicles committed Apr 18, 2020
1 parent 7b16a6c commit 62039c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ end

You need to include `SetAsPrimary` module in your model where you want to handle the primary flag.
Then to `set_as_primary` class helper method, pass your primary flag attribute. You might need to pass
association key `owner_key` if you wan to consider owner (association) context.
association key `owner_key` if you want to consider owner (association) context.

**Note:** Default primary flag attribute is `primary`, and you can use another one too like `default` but
make sure that flag should be present in the table and should be a boolean data type column.
Expand Down

0 comments on commit 62039c5

Please sign in to comment.