Aryk Grosz wrote: > Phillip, > > I see that you always use timestamp instead of datetime. Have you > noticed any problems in Rails >2. How confident are you that timestamp > and datetime can be used interchangeably? > > I know that TIMESTAMP needs to have a default value, but besides that, > are there any issues? > > Aryk >
I'm using Postgres, not MySQL. Postgres has only the timestamp data type (for date/time columns), which is why the native_database_types method has both :datetime and :timestamp mapped to it. And that is not my code. I redefined the method only to add :bigint at the bottom. Peace. -- 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 -~----------~----~----~----~------~----~------~--~---

