module ActiveModel::Access
def slice(*methods)
def slice(*methods) methods.flatten.index_with { |method| public_send(method) }.with_indifferent_access end
def values_at(*methods)
def values_at(*methods) methods.flatten.map! { |method| public_send(method) } end