Class: Formtastic::SemanticFormBuilder
- Inherits:
-
FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- FormBuilder
- Formtastic::SemanticFormBuilder
- Defined in:
- lib/formtastic/semantic_form_builder.rb
Overview
Quick hack/shim so that any code expecting the old SemanticFormBuilder class still works. TODO remove from 2.0 with a helpful upgrade path/warning.
Constant Summary
Constants included from Helpers::ErrorsHelper
Helpers::ErrorsHelper::INLINE_ERROR_TYPES
Constants included from Helpers::InputsHelper
Helpers::InputsHelper::SKIPPED_COLUMNS
Instance Attribute Summary
Attributes inherited from FormBuilder
Instance Method Summary collapse
-
#initialize(*args) ⇒ SemanticFormBuilder
constructor
A new instance of SemanticFormBuilder.
Methods inherited from FormBuilder
configure, #semantic_fields_for
Methods included from Helpers::ErrorsHelper
#inline_errors_for, #semantic_errors
Methods included from Helpers::Reflection
Methods included from Helpers::FileColumnDetection
Methods included from Helpers::ButtonsHelper
Methods included from Helpers::InputsHelper
Methods included from Helpers::InputHelper
Constructor Details
#initialize(*args) ⇒ SemanticFormBuilder
Returns a new instance of SemanticFormBuilder.
6 7 8 9 |
# File 'lib/formtastic/semantic_form_builder.rb', line 6 def initialize(*args) ActiveSupport::Deprecation.warn('Formtastic::SemanticFormBuilder has been deprecated in favor of Formtastic::FormBuilder.', caller) super end |