Method: Paperclip::Attachment#original_filename

Defined in:
lib/paperclip/attachment.rb

#original_filenameObject

Returns the name of the file as originally assigned, and lives in the <attachment>_file_name attribute of the model.



171
172
173
# File 'lib/paperclip/attachment.rb', line 171

def original_filename
  instance_read(:file_name)
end