Sha256: 1d673131d1b398b346039f3ec90c544ea298d49b6d5f4ea36de0725c36410cbb

Contents?: true

Size: 434 Bytes

Versions: 9

Compression:

Stored size: 434 Bytes

Contents

module Formtastic
  # 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.
  # @private
  class SemanticFormBuilder < Formtastic::FormBuilder
    def initialize(*args)
      ActiveSupport::Deprecation.warn('Formtastic::SemanticFormBuilder has been deprecated in favor of Formtastic::FormBuilder.', caller)
      super
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
formtastic-2.0.2 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.1 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0.rc5 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0.rc4 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0.rc3 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0.rc2 lib/formtastic/semantic_form_builder.rb
formtastic-2.0.0.rc1 lib/formtastic/semantic_form_builder.rb
nuatt-formtastic-0.2.3 lib/formtastic/semantic_form_builder.rb