# File lib/tramp/attribute_methods.rb, line 40 def write_attribute(name, value) if ma = self.class.model_attributes[name.to_sym] value = ma.check_value!(value) end if(@attributes[name] != value) send "#{name}_will_change!".to_sym @attributes[name] = value end end