We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f74dd9 commit dde843dCopy full SHA for dde843d
docs/general/serializers.md
@@ -34,6 +34,8 @@ Serialization of the resource `title`
34
| `attribute :title { 'A Different Title'}` | `{ title: 'A Different Title' } `
35
| `attribute :title`<br>`def title 'A Different Title' end` | `{ title: 'A Different Title' }`
36
37
+[PR please for conditional attributes:)](https://github.com/rails-api/active_model_serializers/pull/1403)
38
+
39
### Associations
40
41
#### ::has_one
0 commit comments