method

default_sequence_name

default_sequence_name(table_name, pk = nil)
public

Returns the sequence name for a table’s primary key or some other specified key.