lib/avo/base_resource.rb in avo-3.0.1.beta8 vs lib/avo/base_resource.rb in avo-3.0.1.beta9

- old
+ new

@@ -444,10 +444,10 @@ # We will not overwrite any attributes that come pre-filled in the record. def hydrate_model_with_default_values default_values = get_fields .select do |field| - !field.computed + !field.computed && !field.is_a?(Avo::Fields::HeadingField) end .map do |field| value = field.value if field.type == "belongs_to"