ActiveRecord Validation not working

Ron Bromwell
Mon, 30 Jul 2007 20:52:30 -0000

I am have trouble trying to figure out how validation is suppose to
work. here is what I have:

 validates_length_of :emailOptionTwo, :within => 1..11

When I submit my form with a value the is outside the with, I do not get
an error. The render action int the control is being executed.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---