On Tue, May 19, 2009 at 10:14 AM, Herman Müller
<[email protected]> wrote:

> I use ruby 1.8.6, rails 2.2.2 and mysql 5.045.
>
> In my scaffold I use "t.date :birthday".
>
> When I want to save a birthday  like 12.05.1970 I can save it. But when
> I try to save older birthdays like 12.05.1969 I get the error-message
> "time out of range".
>
> Remarkable is, when I try to save the date without ruby/rails directly
> in the mysl-database, there is no error-message, so it must be a kin of
> ruby/rails bug.

Can you print the entire error message and stack trace, if any?

I just tried this on the same setup and had no error.

-- 
Hassan Schroeder ------------------------ [email protected]

--~--~---------~--~----~------------~-------~--~----~
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