Closed caspiano closed 4 years ago
Update to active-model v2. Assignment from HTTP::Params is type safe, as is assign_attributes. Getters/setters are correctly typed, raising exceptions if the underlying value is nil, however nil validations are run on_save.
HTTP::Params
assign_attributes
on_save
Update to active-model v2. Assignment from
HTTP::Params
is type safe, as isassign_attributes
. Getters/setters are correctly typed, raising exceptions if the underlying value is nil, however nil validations are runon_save
.