test/benchmark/fixtures.rb in active_model_serializers-0.10.8 vs test/benchmark/fixtures.rb in active_model_serializers-0.10.9
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
Rails.configuration.serializers = []
class HasOneRelationshipSerializer < ActiveModel::Serializer
attributes :id, :first_name, :last_name
has_many :primary_resources, embed: :ids