We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff3fa9 commit ce2c800Copy full SHA for ce2c800
1 file changed
README.md
@@ -409,6 +409,7 @@ serializer.serializable_hash
409
Option | Purpose | Example
410
------------ | ------------- | -------------
411
set_type | Type name of Object | ```set_type :movie ```
412
+key | Key of Object | ```belongs_to :owner, key: :user ```
413
set_id | ID of Object | ```set_id :owner_id ```
414
cache_options | Hash to enable caching and set cache length | ```cache_options enabled: true, cache_length: 12.hours, race_condition_ttl: 10.seconds```
415
id_method_name | Set custom method name to get ID of an object | ```has_many :locations, id_method_name: :place_ids ```
0 commit comments