Skip to content

Commit 70d77a4

Browse files
committed
fixup! differentiate example app output from trace console output
1 parent 1d6b0d5 commit 70d77a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

instrumentation/active_model_serializers/example/standalone.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ def screaming_name
5252
end
5353

5454
model = TestModel.new(name: 'test object')
55+
serialized_model = ActiveModelSerializers::SerializableResource.new(model).serializable_hash
5556

56-
puts ActiveModelSerializers::SerializableResource.new(model).serializable_hash
57+
puts "\n*** The serialized object: #{serialized_model}"

0 commit comments

Comments
 (0)