From e2858bbbb1276b1ae5cb67c204b3f659f80ed53e Mon Sep 17 00:00:00 2001 From: Robb Kidd Date: Tue, 26 Nov 2024 13:18:12 -0500 Subject: [PATCH] differentiate example app output from trace console output --- instrumentation/active_model_serializers/example/rails_app.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instrumentation/active_model_serializers/example/rails_app.rb b/instrumentation/active_model_serializers/example/rails_app.rb index dd8946bf9..0ce69e762 100644 --- a/instrumentation/active_model_serializers/example/rails_app.rb +++ b/instrumentation/active_model_serializers/example/rails_app.rb @@ -69,5 +69,6 @@ def screaming_name end model = TestModel.new(name: 'test object') +serialized_model = ActiveModelSerializers::SerializableResource.new(model).serializable_hash -puts ActiveModelSerializers::SerializableResource.new(model).serializable_hash +puts "\n*** The serialized object: #{serialized_model}"