method

read_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.

read_attribute(attr_name)
private

Returns the value of the attribute identified by attr_name after it has been typecast (for example, "2004-12-12" in a data column is cast to a date object, like Date.new(2004, 12, 12)).

1Note

Not really deprecated

rxcfc ยท Jun 18, 20093 thanks

This isn't really deprecated, it's just relocated to ActiveRecord::AttributeMethods#read_attribute