On 31 August 2010 04:44, reu <[email protected]> wrote: > Rails automatically appends a dummy date when you use the TIME type on > your database. My point is: if you are using a time data type on your > database, you are doing that exactly because you don't want the date > included. > > Anyway, I am storing a integer column with the total seconds on the > database and then transforming that with composed_of. Is there a > better way to do that? Anyone know if there is a gem or something to > handle cases like these?
I just use a datetime column and ignore the date part. Colin -- 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.

