summaryrefslogtreecommitdiff
path: root/app/models/callthrough.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 22:44:10 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 22:44:10 +0100
commit49738b091eea2ca65d6f8c71b88747e314ec2950 (patch)
tree27a251dd797c9981747c9edf5e55139bd704c974 /app/models/callthrough.rb
parent48accca73c9564bd2ee8bd296d47eb5c27dbcd51 (diff)
Refactoring and adding some caches.
Diffstat (limited to 'app/models/callthrough.rb')
-rw-r--r--app/models/callthrough.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/callthrough.rb b/app/models/callthrough.rb
index c057fa6..ae461cf 100644
--- a/app/models/callthrough.rb
+++ b/app/models/callthrough.rb
@@ -5,7 +5,7 @@ class Callthrough < ActiveRecord::Base
# Validations and Associations
#
- belongs_to :tenant
+ belongs_to :tenant, :touch => true
validates_presence_of :tenant_id
validates_presence_of :tenant