module Refile::AttachmentHelper::FormBuilder

Form builder extension

Public Instance Methods

attachment_field(method, options = {}) click to toggle source

@see AttachmentHelper#attachment_field

# File lib/refile/rails/attachment_helper.rb, line 7
def attachment_field(method, options = {})
  self.multipart = true
  @template.attachment_field(@object_name, method, objectify_options(options))
end