Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuprog committed Jun 3, 2024
1 parent fe3becc commit 6b74a27
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 @@ -169,7 +169,7 @@ polymorphic_embeds_many :contexts,
#### Options

* `:types` – discussed above.
* `:type_field` – specify a custom type field. Defaults to `:__type__`.
* `:type_field_name` – specify a custom field name for the field holding the type. Defaults to `:__type__`.
* `:on_type_not_found` – specify what to do if the embed's type cannot be inferred.
Possible values are
- `:raise`: raise an error
Expand Down

0 comments on commit 6b74a27

Please sign in to comment.