module ActiveModel::AttributeMethods::ClassMethods

def attribute_alias(name)

Returns the original name for the alias +name+
def attribute_alias(name)
  attribute_aliases[name.to_s]
end