class Pagy::Keyset::ActiveRecord

def latest_from(latest_record) = latest_record.slice(*@keyset.keys)

Get the keyset attributes of the record
def latest_from(latest_record) = latest_record.slice(*@keyset.keys)