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

recreate_versions! doesn't update filename in database #742

Closed
kuraga opened this issue May 18, 2012 · 3 comments
Closed

recreate_versions! doesn't update filename in database #742

kuraga opened this issue May 18, 2012 · 3 comments

Comments

@kuraga
Copy link
Contributor

kuraga commented May 18, 2012

Suppose I want to recreate_versions! of some carrierwave's object. But it's filename is dynamic (random string). So recreate_versions! doesn't update filename in database and I lost it.

@trevorturk
Copy link
Contributor

A pull request to add this feature would be welcome. Otherwise, please consider adding a note about this to the "known issues" page in the wiki.

@gamafranco
Copy link

Hi,

Trevor, I'm having this issue. Do you know if this was fixed? If so, in which version?

Thanks.

@ZenCocoon
Copy link

You just need to save the mounter object once you finished recreating the versions. More details at http://stackoverflow.com/questions/8371234/recreate-versions-using-the-unique-filename-method-stated-in-the-wiki/12903595#12903595

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

4 participants