Colin Law wrote: > 2009/5/21 Tyler Knappe <[email protected]> > >> > >> > > I may have to be corrected, but I don't think this is necessary. If the > db > column is datetime (as defined in the migration and schema.rb) then the > value in a DateTime object should be written (and read) automatically in > the > appropriate format. > > Colin
Would this be true of date and time fields? That is how I am storing them right now.. I'm tempted to make the switch to datetime; it just seems to be easier in the long run and I now know how to filter the date and times from the single field. -- 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 -~----------~----~----~----~------~----~------~--~---

