Skip to content

Commit 2eaaa71

Browse files
authored
Merge pull request #299 from g13ydson/feature/add_option_key
add the option "key" in customizable options in the README
2 parents a5414c6 + ce2c800 commit 2eaaa71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ serializer.serializable_hash
426426
Option | Purpose | Example
427427
------------ | ------------- | -------------
428428
set_type | Type name of Object | ```set_type :movie ```
429+
key | Key of Object | ```belongs_to :owner, key: :user ```
429430
set_id | ID of Object | ```set_id :owner_id ```
430431
cache_options | Hash to enable caching and set cache length | ```cache_options enabled: true, cache_length: 12.hours, race_condition_ttl: 10.seconds```
431432
id_method_name | Set custom method name to get ID of an object | ```has_many :locations, id_method_name: :place_ids ```

0 commit comments

Comments
 (0)