Class: DynamicPaperclip::HasAttachedFile

Inherits:
Paperclip::HasAttachedFile
  • Object
show all
Defined in:
lib/dynamic_paperclip/has_attached_file.rb

Instance Method Summary collapse

Instance Method Details

#register_new_attachmentObject



3
4
5
6
7
# File 'lib/dynamic_paperclip/has_attached_file.rb', line 3

def register_new_attachment
  DynamicPaperclip::AttachmentRegistry.register(@klass, @name, @options)

  super
end