Ok, I did it. But in the model I have validates_presence_of, and even
though the field is filled, I keep getting the blank error.

On Feb 26, 9:52 pm, CFC <zuso...@gmail.com> wrote:
> define it as a getter and setter.
>
> On Fri, Feb 27, 2009 at 10:49 AM, Mike C <snib...@gmail.com> wrote:
>
> > I want to validate a field in my form that's not an attribute in the
> > model. How do I do this?
>
> --
> TWRUG Blog:http://blog.rubyonrails.org.tw
>
> CFC on Rails:http://zusocfc.blogspot.com
>
> Only two surfaces of a box:http://blog.pixnet.net/zusocfc
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to