Methods
Instance Public methods
Returns a hash of attributes before typecasting and deserialization.
Source: show
# File activerecord/lib/active_record/attribute_methods/before_type_cast.rb, line 15 def attributes_before_type_cast @attributes end
Source: show
# File activerecord/lib/active_record/attribute_methods/before_type_cast.rb, line 10 def read_attribute_before_type_cast(attr_name) @attributes[attr_name] end