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
up.

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 =
Customer

Cheers. And thanks in advance!

The error message:
http://farm4.static.flickr.com/3259/3120802163_cefc0d789f_o.jpg

SignupsController
http://www.pastie.org/343627

Index View
http://www.pastie.org/343631

Customer model

class Customer < ActiveRecord::Base
  validates_presence_of :first_name, :last_name, :email
end
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to