method

new

v3.2.13 - Show latest stable - Class: Person
new(attributes = {})
public

No documentation available.

# File activemodel/examples/validations.rb, line 11
  def initialize(attributes = {})
    @name = attributes[:name]
  end