lib/fiona7/builder/obj_builder.rb in infopark_fiona7-0.71.1.3 vs lib/fiona7/builder/obj_builder.rb in infopark_fiona7-0.71.1.4
- old
+ new
@@ -237,10 +237,10 @@
else
special_upload_handling(attribute_name, value)
end
elsif value.kind_of?(ActionDispatch::Http::UploadedFile)
if !Fiona7.mode == :legacy || attribute_name.to_s != "blob"
- @obj.set(attribute_name.to_s, upload_file(value))
+ @obj.set(attribute_name.to_s, upload_uploaded_file(value))
else
special_upload_uploaded_handling(attribute_name, value)
end
elsif value.nil?
@obj.set(attribute_name.to_s, [])