method

write_attribute

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

write_attribute(attr_name, value)
private

Updates the attribute identified by attr_name with the specified value. Empty strings for fixnum and float columns are turned into nil.