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 1d6b0d5 commit 70d77a4Copy full SHA for 70d77a4
instrumentation/active_model_serializers/example/standalone.rb
@@ -52,5 +52,6 @@ def screaming_name
52
end
53
54
model = TestModel.new(name: 'test object')
55
+serialized_model = ActiveModelSerializers::SerializableResource.new(model).serializable_hash
56
-puts ActiveModelSerializers::SerializableResource.new(model).serializable_hash
57
+puts "\n*** The serialized object: #{serialized_model}"
0 commit comments