module ActiveRecord::AttributeAssignment
def assign_multiparameter_attributes(pairs)
parentheses to have the parameters typecasted before they're used in the constructor. Use i for Integer and
written_on (a date type) with Date.new("2004", "6", "24"). You can also specify a typecast character in the
So having the pairs written_on(1) = "2004", written_on(2) = "6", written_on(3) = "24", will instantiate
by calling new on the column type or aggregation type (through composed_of) object with these parameters.
Instantiates objects for all attribute classes that needs more than one constructor parameter. This is done
def assign_multiparameter_attributes(pairs) execute_callstack_for_multiparameter_attributes( extract_callstack_for_multiparameter_attributes(pairs) ) end