Acessing new field values in validate_on_update


How to access to old field values in validate_on_update method? I need
to see if there is changed field’s value and if it is so, rise an

Thank you!

I haven’t tested this but you could try using Model.find() to get the
version of the object from the database which will as yet be unmodified
by the save. Then compare the fields with the (unsaved) version to see
if changes have been made.

Try it, if it doesnt work I’ll suggest something else.