##// END OF EJS Templates
Set user_id as a protected attribute (#10390)....
Jean-Philippe Lang -
r9019:87356648f659
parent child
Show More
@@ -19,7 +19,7 class UserPreference < ActiveRecord::Base
19 belongs_to :user
19 belongs_to :user
20 serialize :others
20 serialize :others
21
21
22 attr_protected :others
22 attr_protected :others, :user_id
23
23
24 before_save :set_others_hash
24 before_save :set_others_hash
25
25
General Comments 0
You need to be logged in to leave comments. Login now