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.
3b985461018c5edb36619bc30a70548d?d=identicon&s=25 John Kopanas (Guest)
on 2006-06-10 19: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 Kopanas

============================================================ - Index of online software engineering knowledge - Canadian University Software Engineering
Conference - Presentations from CUSEC
43ec5998360a0cc21b51afef1781e9c0?d=identicon&s=25 Daniel Higginbotham (danieldaniel)
on 2006-06-10 19:57
(Received via mailing list)
This topic is locked and can not be replied to.