Skip to content

Instantly share code, notes, and snippets.

@thetron
Created June 8, 2011 05:05
Show Gist options
  • Save thetron/1013814 to your computer and use it in GitHub Desktop.
Save thetron/1013814 to your computer and use it in GitHub Desktop.
Carrierwave (0.5.4) monkey patch to remove version name from saved files
# config/initializers/carrierwave.rb
module CarrierWave
module Uploader
module Versions
private
def full_filename(for_file)
super(for_file)
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment