active_model_serializers/lib/active_model/serializer
Gosha Arinich e8ae3e1bb3 allow singular embed when serializing association
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
```
2013-05-05 11:02:42 +03:00
..
associations.rb allow singular embed when serializing association 2013-05-05 11:02:42 +03:00