Forum: Ruby on Rails Errors

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.
6f4989f18fb2315d4b1db15cccb29ecf?d=identicon&s=25 Mick (Guest)
on 2007-04-09 02:11
Hello guys,

I have a question - I would like to use validation on a form I submit to
the controller, so if (for example) an field is empty, it should add it
to a list of errors, which I can then display beside any form fields for
which that (or any other validation) applies.

Do you know of any good tutorials on the subject or can anyone offer a
sample of controller/view code that utilizes validate(), etc, so I can
see how it is meant to work? Agile Web Dev doesn't really explain it
clearly in one place I have found,

Thanks a bunch,

A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (au5lander)
on 2007-04-09 13:20
(Received via mailing list)
This topic is locked and can not be replied to.