git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8070 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/1.4.0
@@ -21,12 +21,14 @@ class UserPreference < ActiveRecord::Base | |||
attr_protected :others | |||
before_save :set_others_hash | |||
def initialize(attributes = nil) | |||
super | |||
self.others ||= {} | |||
end | |||
def before_save | |||
def set_others_hash | |||
self.others ||= {} | |||
end | |||