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.
--~--~-~--~~~--
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
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
3 matches
Mail list logo