123456789_123456789_123456789_123456789_123456789_

Module: ActionController::FormBuilder::ClassMethods

Relationships & Source Files
Defined in: actionpack/lib/action_controller/form_builder.rb

Instance Method Summary

Instance Method Details

#default_form_builder(builder)

Set the form builder to be used as the default for all forms in the views rendered by this controller and its subclasses.

#### Parameters

  • builder - Default form builder, an instance of ActionView::Helpers::FormBuilder

[ GitHub ]

  
# File 'actionpack/lib/action_controller/form_builder.rb', line 45

def default_form_builder(builder)
  self._default_form_builder = builder
end