On 3 Apr 2009, at 14:02, Jim Burgess wrote:

>
> Thanks for the quick reply.
> It is important for my form that the date_select helper is not
> initialized with a value (ie. :include_blank => true).
> So, how could I stop the above error from happening?

You can't easily stop the user entering dates like that with rails  
built in date helpers, so you need to rescue those exceptions and  
massage them into a friendly message.

Fred
>
> Could you give me a hint as to which direction to be thinking in?
> I'm still relatively new to Rails, so I would be grateful if any
> explination isn't too complicated.
> Thanks once again.
>
>
> -- 
> 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