Forum: Ruby on Rails when does validation happen

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Peter M. (Guest)
on 2006-01-23 23:49
(Received via mailing list)

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

Bob S. (Guest)
on 2006-01-24 05:49
(Received via mailing list)
Read Section 15.5 on Callbacks in the book to find the answer :) It has
nice image that explains the flow of validation.

Bob S.
This topic is locked and can not be replied to.