method
test_to_key
v3.0.9 -
Show latest stable
- Class:
ActiveModel::Lint::Tests
test_to_key()public
Responds to to_key
Returns an Enumerable of all (primary) key attributes or nil if model.persisted? is false
test_to_key()Returns an Enumerable of all (primary) key attributes or nil if model.persisted? is false