method

test_to_key

test_to_key()
public

Responds to to_key

Returns an Enumerable of all (primary) key attributes or nil if model.persisted? is false. This is used by dom_id to generate unique ids for the object.