We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a5414c6 + ce2c800 commit 2eaaa71Copy full SHA for 2eaaa71
1 file changed
README.md
@@ -426,6 +426,7 @@ serializer.serializable_hash
426
Option | Purpose | Example
427
------------ | ------------- | -------------
428
set_type | Type name of Object | ```set_type :movie ```
429
+key | Key of Object | ```belongs_to :owner, key: :user ```
430
set_id | ID of Object | ```set_id :owner_id ```
431
cache_options | Hash to enable caching and set cache length | ```cache_options enabled: true, cache_length: 12.hours, race_condition_ttl: 10.seconds```
432
id_method_name | Set custom method name to get ID of an object | ```has_many :locations, id_method_name: :place_ids ```
0 commit comments