When does validation happen


#1

Hi,

In the rails book it show that for most validates helpers there is an
:on option with options :save, :create, :update. The default is for
:save. Using this default will Rails also validate when creating and
updating?

Thanks,
Peter


#2

Read Section 15.5 on Callbacks in the book to find the answer :slight_smile: It has
a
nice image that explains the flow of validation.

Bob S.