Validating Object Without Saving It

Is their a way to validate an object without saving it?

So I can do something like this

if user.save

else

end

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 :slight_smile:

John K.
http://www.kopanas.com

============================================================
http://www.soen.info - Index of online software engineering knowledge
http://www.cusec.net - Canadian University Software Engineering
Conference
http://www.soenlive.com - Presentations from CUSEC

Use valid?