diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 22:54:59 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 22:54:59 +0100 |
commit | 45ab6dc23ef7d8d6ddf60ab355c2d1b3450f35c8 (patch) | |
tree | 4b1429700bdfb237dd3bd98cee19b46a16cb8b38 /app/models/phone.rb | |
parent | 1e5c4e80fe27eddf87d0e01ea771e8ea050bc4c1 (diff) |
Cache fixes.
Diffstat (limited to 'app/models/phone.rb')
-rw-r--r-- | app/models/phone.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/phone.rb b/app/models/phone.rb index 4865a12..8b41b59 100644 --- a/app/models/phone.rb +++ b/app/models/phone.rb @@ -9,7 +9,7 @@ class Phone < ActiveRecord::Base # Associations # belongs_to :phone_model - belongs_to :phoneable, :polymorphic => true + belongs_to :phoneable, :polymorphic => true, :touch => true has_many :phone_sip_accounts, :dependent => :destroy, :uniq => true, :order => :position has_many :sip_accounts, :through => :phone_sip_accounts |