@model.update_attributes(params[:model]) without saving?


#1

Is it possible to update the parameters from a form without saving?

@model.update_attributes(params[:model]) will save the model after
updating its attributes. I’d just like the attributes updating without
a save.

Thanks
Chris


#2

Chris R. wrote:

Is it possible to update the parameters from a form without saving?

@model.update_attributes(params[:model]) will save the model after
updating its attributes. I’d just like the attributes updating without
a save.

@model.attributes = params[:model]


We develop, watch us RoR, in numbers too big to ignore.