class StaticFileUploader < BaseUploader

  include CarrierWave::MiniMagick

  version :thumb, if: :image? do
    process resize_to_fill: [32, 32]
  end

  version :big_thumb, if: :image? do
    process resize_to_fill: [96, 96]
  end

end

class StaticFileUploader < BaseUploader

  include CarrierWave::MiniMagick

  def store_dir; "uploads/sf/#{model.id}" end

  version :thumb, if: :image? do
    process resize_to_fill: [32, 32]
  end

  version :big_thumb, if: :image? do
    process resize_to_fill: [96, 96]
  end

end

Change store dir for static files
Change store dir for static files
