Displaying 1 result from an estimated 1 matches for "_asset_content_type".
2009 Aug 17
0
Paperclip: processor proc not firing
...en though I even explicitely set the "video?" instance
method to always return true (which should make it fail for normal
image files, but even that it doesn''t).
Inspecting the asset brings up the properties I expect to see:
--- &id004 !ruby/object:Paperclip::Attachment
_asset_content_type: video/quicktime
_asset_file_name: dirt.mov
_asset_file_size: 2162316
_asset_updated_at: 2009-08-17 15:35:29.113877 +02:00
convert_options: {}
...
:processors: &id001 !ruby/object:Proc {}
For clarification, my Paperclip method in the model:
has_attached_file :asset,...