Flowdock
method

type_cast_attribute_value

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: AttributeAssignment
type_cast_attribute_value(multiparameter_name, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_assignment.rb, line 97
    def type_cast_attribute_value(multiparameter_name, value)
      multiparameter_name =~ /\([0-9]*([if])\)/ ? value.send("to_" + $1) : value
    end
Register or log in to add new notes.