# File lib/active_model/conversion.rb, line 41
def
to_key
persisted?
?
[
id
]
:
nil
end