test/benchmark/controllers.rb in active_model_serializers-0.10.8 vs test/benchmark/controllers.rb in active_model_serializers-0.10.9

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + class PrimaryResourceController < ActionController::Base PRIMARY_RESOURCE = begin if ENV['BENCH_STRESS'] has_many_relationships = (0..50).map do |i|