class ActiveModelSerializers::Model

def initialize(attributes = {})

def initialize(attributes = {})
  @attributes = attributes && attributes.symbolize_keys
  @errors = ActiveModel::Errors.new(self)
  super
end