Philip Hallstrom wrote in post #937228:
> Just for the sake of argument... how about the time it takes runners to
> finish a marathon? Sure you could use seconds as an integer field, but
> time without date make sense...
I'm currently developing application, where I need to store beginning
date (date only, without time) and amount of time passed.
I found a gem, that deals with 'time without date' issue:
https://github.com/lailsonbm/time_of_day
It can be useful in some cases.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment