summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/user_preference.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb
index 836ec6b26..55bbb7e16 100644
--- a/app/models/user_preference.rb
+++ b/app/models/user_preference.rb
@@ -19,7 +19,7 @@ class UserPreference < ActiveRecord::Base
belongs_to :user
serialize :others
- attr_protected :others
+ attr_protected :others, :user_id
before_save :set_others_hash