You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
An **`ActiveModel::Serializer`** wraps a [serializable resource](https://github.com/rails/rails/blob/4-2-stable/activemodel/lib/active_model/serialization.rb)
4
4
and exposes an `attributes` method, among a few others.
5
-
It allows you to specify which attributes and associations should represent the serialization of the resource.
5
+
It allows you to specify which attributes and associations should be represented in the serializatation of the resource.
6
6
It requires an adapter to transform its attributes into a JSON document; it cannot be serialized itself.
0 commit comments