attachinary
attachinary copied to clipboard
'bytes' (and other fields)
It looks to me like there is no way to persist the 'bytes' value returned from cloudinary, or any other fields that are not specifically whitelisted in the strong params definition: https://github.com/assembler/attachinary/blob/master/lib/attachinary/utils.rb#L18.
Would you consider making this configurable? Or perhaps making that a more comprehensive list, and then getting the intersection with what attributes are defined on the attachinary_files table? So that if I want to add a column such as "bytes", I can do so and it will save to it.