method

new

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

No documentation available.

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