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.
Eea3feaacbe44706164289d068d94828?d=identicon&s=25 Peter Michaux (Guest)
on 2006-01-23 22: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

Af93ba6b6b59f22a8f37e8de5702ef98?d=identicon&s=25 Bob Silva (Guest)
on 2006-01-24 04: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 Silva
This topic is locked and can not be replied to.