method
read_attribute
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)).
Register or
log in
to add new notes.
rxcfc -
June 18, 2009
1 thank
Not really deprecated
This isn’t really deprecated, it’s just relocated to ActiveRecord::AttributeMethods#read_attribute

