Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'bytes' (and other fields) #125

Open
joekur opened this issue Apr 20, 2016 · 0 comments
Open

'bytes' (and other fields) #125

joekur opened this issue Apr 20, 2016 · 0 comments

Comments

@joekur
Copy link

joekur commented Apr 20, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant