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

method to unset fields #17

Open
brenes opened this issue May 6, 2016 · 0 comments
Open

method to unset fields #17

brenes opened this issue May 6, 2016 · 0 comments

Comments

@brenes
Copy link
Member

brenes commented May 6, 2016

We have a block with an Image model attached, and want to be able to unset the image with a check , just like carrierwave allows.

Maybe it would be nice to have a remove_field method that allows to set to nil any field. E.g: My block has a image field. Invoking block.remove_image sets the field to nil.

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