summaryrefslogtreecommitdiff
path: root/app/models/phone_model.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/phone_model.rb')
-rw-r--r--app/models/phone_model.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/phone_model.rb b/app/models/phone_model.rb
index e00e0e3..ac4d4a3 100644
--- a/app/models/phone_model.rb
+++ b/app/models/phone_model.rb
@@ -3,7 +3,7 @@ class PhoneModel < ActiveRecord::Base
# Associations
#
- belongs_to :manufacturer
+ belongs_to :manufacturer, :touch => true
has_many :phones, :dependent => :destroy