Flowdock
method

init_with

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveModel::Errors
init_with(coder) 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/errors.rb, line 443
    def init_with(coder) # :nodoc:
      coder.map.each { |k, v| instance_variable_set(:"@#{k}", v) }
      @details ||= {}
      apply_default_array(@messages)
      apply_default_array(@details)
    end
Register or log in to add new notes.