@@ -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 | def initialize(attributes = nil) |
|
24 | def initialize(attributes = nil) | |
25 | super |
|
25 | super |
General Comments 0
You need to be logged in to leave comments.
Login now