Forum: Ruby on Rails Validating Object Without Saving It

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.
John K. (Guest)
on 2006-06-10 21:45
(Received via mailing list)
Is their a way to validate an object without saving it?

So I can do something like this




But where save is just validating it but not actually saving it into
DB.  I just don't want to save the object yet.

Thanks guys  and gals :-)

John K.

============================================================ - Index of online software engineering knowledge - Canadian University Software Engineering
Conference - Presentations from CUSEC
Daniel H. (Guest)
on 2006-06-10 21:57
(Received via mailing list)
This topic is locked and can not be replied to.