Files

Class/Module Index [+]

Quicksearch

ActiveRecord::AttributeMethods::BeforeTypeCast

Public Instance Methods

attributes_before_type_cast() click to toggle source

Returns a hash of attributes before typecasting and deserialization.

# File lib/active_record/attribute_methods/before_type_cast.rb, line 15
def attributes_before_type_cast
  @attributes
end
read_attribute_before_type_cast(attr_name) click to toggle source
# File lib/active_record/attribute_methods/before_type_cast.rb, line 10
def read_attribute_before_type_cast(attr_name)
  @attributes[attr_name]
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.