Method: Paperclip::Attachment#content_type
- Defined in:
- lib/paperclip/attachment.rb
#content_type ⇒ Object
Returns the content_type of the file as originally assigned, and lives in the <attachment>_content_type attribute of the model.
189 190 191 |
# File 'lib/paperclip/attachment.rb', line 189 def content_type instance_read(:content_type) end |