Flowdock
method

new

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ValidationError
new(model) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/validations.rb, line 428
    def initialize(model)
      @model = model
      errors = @model.errors.full_messages.join(", ")
      super(I18n.t(:"#{@model.class.i18n_scope}.errors.messages.model_invalid", errors: errors, default: :"errors.messages.model_invalid"))
    end
Register or log in to add new notes.