mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
Having ```ruby has_one :post, embed: :ids ``` looks especially weird as it's a one-to-one association, hence there is only one id. The following looks better: ```ruby has_one :post, embed: :id ``` |
||
|---|---|---|
| .. | ||
| associations.rb | ||