When uploading an image in the media library, Rails will raise an UnpermittedParameters error when referencing image_params, even if we're not using that parameter directly (files)
Should either not use image_param in images#create or, add files: [] to image_params.
When uploading an image in the media library, Rails will raise an
UnpermittedParameters
error when referencing image_params, even if we're not using that parameter directly (files
)Should either not use
image_param
in images#create or, addfiles: []
toimage_params
.