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 db4a04a commit e2858bbCopy full SHA for e2858bb
instrumentation/active_model_serializers/example/rails_app.rb
@@ -69,5 +69,6 @@ def screaming_name
69
end
70
71
model = TestModel.new(name: 'test object')
72
+serialized_model = ActiveModelSerializers::SerializableResource.new(model).serializable_hash
73
-puts ActiveModelSerializers::SerializableResource.new(model).serializable_hash
74
+puts "\n*** The serialized object: #{serialized_model}"
0 commit comments