module ActiveModel::AttributeMethods

def missing_attribute(attr_name, stack)

def missing_attribute(attr_name, stack)
  raise ActiveModel::MissingAttributeError, "missing attribute: #{attr_name}", stack
end