Module: Formalism::R18nErrors

Defined in:
lib/formalism/r18n_errors.rb,
lib/formalism/r18n_errors/errors.rb,
lib/formalism/r18n_errors/version.rb,
lib/formalism/r18n_errors/validation_helpers.rb

Overview

Main module which should be included into base form

Defined Under Namespace

Modules: ValidationHelpers

Constant Summary collapse

VERSION =
'0.5.1'

Instance Method Summary collapse

Instance Method Details

#initializeObject



11
12
13
14
15
16
# File 'lib/formalism/r18n_errors.rb', line 11

def initialize(*)
	## `@errors_key` should be set in using form
	@errors = Errors.new

	super
end