{"action":"opened","issue":{"url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1709","labels_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1709/labels{/name}","comments_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1709/comments","events_url":"https://api.github.com/repos/carrierwaveuploader/carrierwave/issues/1709/events","html_url":"https://github.com/carrierwaveuploader/carrierwave/issues/1709","id":98213646,"number":1709,"title":"How to customize version filename?","user":{"login":"san","id":9732,"avatar_url":"https://avatars.githubusercontent.com/u/9732?v=3","gravatar_id":"","url":"https://api.github.com/users/san","html_url":"https://github.com/san","followers_url":"https://api.github.com/users/san/followers","following_url":"https://api.github.com/users/san/following{/other_user}","gists_url":"https://api.github.com/users/san/gists{/gist_id}","starred_url":"https://api.github.com/users/san/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/san/subscriptions","organizations_url":"https://api.github.com/users/san/orgs","repos_url":"https://api.github.com/users/san/repos","events_url":"https://api.github.com/users/san/events{/privacy}","received_events_url":"https://api.github.com/users/san/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T16:43:31Z","updated_at":"2015-07-30T16:43:31Z","closed_at":null,"body":"Hello,\r\nI have a strange issue. I am trying to use master branch of carrierwave with Rails 3.2.xx project. I need to customize filenames of the versions. But when I add `full_filename` method in the version block, my original file also gets reduced to the dimensions specified for version.\r\n\r\nWhen I remove `full_filename` method, it all works as expected.\r\n\r\nIs there a new way to customize version filenames. I have been using this way successfully in 0.10.0 and before.\r\n\r\nBelow is my uploader. This is a generated uploader with `store_dir` overrides.\r\n\r\n```Ruby\r\nclass TestUploader < CarrierWave::Uploader::Base\r\n\r\n  # Include RMagick or MiniMagick support:\r\n  # include CarrierWave::RMagick\r\n  include CarrierWave::MiniMagick\r\n\r\n  # Choose what kind of storage to use for this uploader:\r\n  # storage :file\r\n  storage :fog\r\n\r\n  # Override the directory where uploaded files will be stored.\r\n  # This is a sensible default for uploaders that are meant to be mounted:\r\n  def store_dir\r\n    \"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}\"\r\n  end\r\n\r\n  # Create different versions of your uploaded files:\r\n  \r\n  version :thumb do\r\n    process :resize_to_fit => [200, 200]\r\n\r\n    def store_dir\r\n      \"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}/#{version_name}\"\r\n    end\r\n\r\n    def full_filename(for_file = model.logo.file)\r\n      super(for_file).sub(version_name.to_s + '_', '')\r\n    end\r\n  end\r\n\r\nend\r\n````\r\n\r\nAny ideas? All I need to do is to remove `version_name` part from its filename, since I am saving the versions in separate folders. I searched through Wiki and internet, but couldn't find a new way of doing this."}}