From a8cdcfa13c8cb226a8eb1918fdbb616962c619a6 Mon Sep 17 00:00:00 2001 From: Filipe Giusti Date: Fri, 11 Oct 2024 16:47:10 -0300 Subject: [PATCH] Remove blank space --- lib/avo/fields/belongs_to_field.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/avo/fields/belongs_to_field.rb b/lib/avo/fields/belongs_to_field.rb index f2b950d82..4dd4a904a 100644 --- a/lib/avo/fields/belongs_to_field.rb +++ b/lib/avo/fields/belongs_to_field.rb @@ -194,7 +194,7 @@ def to_permitted_param return [:"#{polymorphic_as}_type", :"#{polymorphic_as}_id"] end - foreign_key.is_a?(Array) ? foreign_key.map(&:to_sym) : foreign_key.to_sym + foreign_key.is_a?(Array) ? foreign_key.map(&:to_sym) : foreign_key.to_sym end def fill_field(record, key, value, params)