Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
50 lines (39 sloc) 1.046 kb
# encoding: utf-8
require 'formtastic/engine' if defined?(::Rails)
module Formtastic
extend ActiveSupport::Autoload
autoload :FormBuilder
autoload :Helpers
autoload :HtmlAttributes
autoload :I18n
autoload :Inputs
autoload :Actions
autoload :LocalizedString
autoload :Localizer
autoload :Util
autoload :NamespacedClassFinder
autoload :InputClassFinder
autoload :ActionClassFinder
autoload :Deprecation
# @private
mattr_accessor :deprecation
self.deprecation = Formtastic::Deprecation.new('4.0', 'Formtastic')
if defined?(::Rails) && Util.deprecated_version_of_rails?
deprecation.warn("Support for Rails < #{Util.minimum_version_of_rails} will be dropped")
end
# @public
class UnknownInputError < NameError
end
# @private
class UnknownActionError < NameError
end
# @private
class PolymorphicInputWithoutCollectionError < ArgumentError
end
# @private
class UnsupportedMethodForAction < ArgumentError
end
# @private
class UnsupportedEnumCollection < NameError
end
end
Jump to Line
Something went wrong with that request. Please try again.