Dates can't store earlier than I think 1970 something. Use time.

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails  
deploy process! Check it out now!


On 20/05/2009, at 3:14 AM, Herman Müller <[email protected] 
t> wrote:

>
> Hi ruby community,
>
> 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.
>
> Do somebody know a solution?
>
> Thanks in front for every proposal for solution:-)
>
> Regs Hermann
> -- 
> 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