Class: Formtastic::SemanticFormBuilder

Inherits:
FormBuilder
  • Object
show all
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

#auto_index, #template

Instance Method Summary collapse

Methods inherited from FormBuilder

configure, #semantic_fields_for

Methods included from Helpers::ErrorsHelper

#inline_errors_for, #semantic_errors

Methods included from Helpers::Reflection

#reflection_for

Methods included from Helpers::FileColumnDetection

#is_file?

Methods included from Helpers::ButtonsHelper

#buttons, #commit_button

Methods included from Helpers::InputsHelper

#inputs

Methods included from Helpers::InputHelper

#input

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