Forum: Ruby on Rails Validator not quite working

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.
Patrick L. (Guest)
on 2008-12-20 01:26
Hi guys,
I'm trying to get the form validator to work - and it almost does. What
happens, I believe, is that it throws the error properly, but it never
makes it back to the page to post the error. Instead, it kind of blows

I used the same basic code the scaffold uses, so I'm not sure why it's
not working. If you guys wouldn't mind... controller = Signups, model =

Cheers. And thanks in advance!

The error message:


Index View

Customer model

class Customer < ActiveRecord::Base
  validates_presence_of :first_name, :last_name, :email
This topic is locked and can not be replied to.