Sha256: 42b83be0b85eceb2d48090ef4e05b3e8e36326b377f9d5ab9c2adf5914488c54
Contents?: true
Size: 1.07 KB
Versions: 5
Compression:
Stored size: 1.07 KB
Contents
Paperclip.options[:command_path] = case Rails.env when 'development', 'test' then '/usr/local/bin' end if Rails.env.test? class Paperclip::Attachment def self.default_options @default_options = { :url => "/system/:attachment/:id/:style/:filename", :path => ":rails_root/public:url", :styles => {}, :only_process => [], :processors => [:thumbnail], :convert_options => {}, :source_file_options => {}, :default_url => "/:attachment/:style/missing.png", :default_style => :original, :storage => :filesystem, :use_timestamp => false, :whiny => Paperclip.options[:whiny] || Paperclip.options[:whiny_thumbnails], :use_default_time_zone => true, :hash_digest => "SHA1", :hash_data => ":class/:attachment/:id/:style/:updated_at", :preserve_files => false } end end end
Version data entries
5 entries across 5 versions & 1 rubygems