Ramon T. wrote:
How about trying live validation?
On Mon, May 19, 2008 at 2:58 AM, san 1981
[email protected] wrote:
Posted via http://www.ruby-forum.com/.
Thanks Tayag, I didn’t know live validation but that seems really
interesting, I’ll try this.
I’ve yet a question about the classic rails validation… When I add
“validates_presence_of :email”; if the field “email” is empty, when the
submitting I receive an error message " You have a nil object when you
didn’t expect it! You might have expected an instance of Array. The
error occurred while evaluating nil.collect’. If the field “email” is
filled, the field with select .collect works perfectly?