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

Reset mounter cache on record reload #1383

Merged
merged 1 commit into from
Nov 19, 2014
Merged

Reset mounter cache on record reload #1383

merged 1 commit into from
Nov 19, 2014

Conversation

semenyukdmitry
Copy link
Contributor

user = User.create(avatar: some_file)
user.avatar.present? # => true

double_user = User.find(user.id)
dobule_user.remove_avatar = true
double_user.save

user.reload
user.avatar.present? # => true, but should be false

bensie added a commit that referenced this pull request Nov 19, 2014
…eload

Reset mounter cache on record reload
@bensie bensie merged commit 40f087b into carrierwaveuploader:master Nov 19, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants