Module ActiveRecord::AttributeMethods::Read
In: lib/active_record/attribute_methods/read.rb

Methods

Classes and Modules

Module ActiveRecord::AttributeMethods::Read::ClassMethods

Constants

ATTRIBUTE_TYPES_CACHED_BY_DEFAULT = [:datetime, :timestamp, :time, :date]

Public Instance methods

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

[Validate]