Commit 9f253836 authored by Peter Leitzen's avatar Peter Leitzen

Implement SshHostKey.primary_key method

parent 00092387
...@@ -52,6 +52,11 @@ class SshHostKey ...@@ -52,6 +52,11 @@ class SshHostKey
@compare_host_keys = compare_host_keys @compare_host_keys = compare_host_keys
end end
# Needed for reactive caching
def self.primary_key
'id'
end
def id def id
[project.id, url].join(':') [project.id, url].join(':')
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment