Module: ActsAsMultipartForm::MultipartFormInController
- Defined in:
- lib/acts_as_multipart_form/multipart_form_in_controller.rb
Overview
Specify this to let the controller know how to setup the multipart forms. This sets up the form action, the form parts, and any other needed options. Each controller can have multiple multipart forms included on it
The controller expects there to be an action for every form part for form_part_name and form_part_name_update There are currently no checks to verify these actions but an exception will be thrown when a missing action is called
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
12 13 14 |
# File 'lib/acts_as_multipart_form/multipart_form_in_controller.rb', line 12 def self.included(base) base.extend ClassMethods end |