Skip to content

Commit e2858bb

Browse files
committed
differentiate example app output from trace console output
1 parent db4a04a commit e2858bb

File tree

1 file changed

+2
-1
lines changed
  • instrumentation/active_model_serializers/example

1 file changed

+2
-1
lines changed

instrumentation/active_model_serializers/example/rails_app.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@ def screaming_name
6969
end
7070

7171
model = TestModel.new(name: 'test object')
72+
serialized_model = ActiveModelSerializers::SerializableResource.new(model).serializable_hash
7273

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

0 commit comments

Comments
 (0)