Fix code example in AR::AttributeMethods::BeforeTypeCast.

This commit is contained in:
Hendy Tanata 2012-10-22 22:49:01 +08:00
parent e041a50f29
commit 01e38d8c89

@ -14,7 +14,7 @@ module AttributeMethods
#
# task.attributes_before_type_cast
# # => {"id"=>"1", "completed_on"=>"2012-10-21", ... }
# task.read_attribute_before_type_cast('id') # => 1
# task.read_attribute_before_type_cast('id') # => "1"
# task.read_attribute_before_type_cast('completed_on') # => "2012-10-21"
#
# In addition to #read_attribute_before_type_cast and #attributes_before_type_cast,