method

type_cast_attribute_value

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
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/base.rb, line 1796
      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.