[Rails] Re: noob validation question for time_zone

2009-06-12 Thread Jon
Thanks Ryan, Colin -- I should have gone with my first instinct to validate in the model. Works now! On Jun 12, 8:11 am, Ryan Bigg wrote: > You can do validates_presence_of :time_zone in the relevant model to > ensure that the field is not left blank. --~--~-~--~~~--

[Rails] Re: noob validation question for time_zone

2009-06-12 Thread Colin Law
2009/6/12 Jon : > > Despite much googling and book checking, I can't for the life of me > figure out how to check if the time_zone object is nil.  The situation > is that I built a fun little delayed email delivery app -- > http://mailthislater.com > if you're interested -- and want to ensure tha

[Rails] Re: noob validation question for time_zone

2009-06-12 Thread Ryan Bigg
You can do validates_presence_of :time_zone in the relevant model to ensure that the field is not left blank. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send e