mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-04-02 08:21:57 -04:00
fixed accident deleteion details_cache_key
This commit is contained in:
@@ -47,7 +47,7 @@ class Customer < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Generates a unique cache key for storing this customer's QBO details.
|
# Generates a unique cache key for storing this customer's QBO details.
|
||||||
def
|
def details_cache_key
|
||||||
"customer:#{id}:qbo_details:#{updated_at.to_i}"
|
"customer:#{id}:qbo_details:#{updated_at.to_i}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user