lib/fish0/collection.rb in fish0-0.0.15 vs lib/fish0/collection.rb in fish0-0.0.16
- old
+ new
@@ -9,10 +9,10 @@
end
protected
def objects_key
- Digest::MD5.hexdigest(map(&:slug).join)
+ Digest::MD5.hexdigest(map(&:primary_key_value).join)
end
def time_to_string(timestamp)
timestamp.strftime('%Y%m%d%H%M%S%9N')
end