I have a situation where the user can do something (like a post) only into a given timespan, like from <10 december 2010> to <5 march 2011>.
How do you suggest to express it in a rails model/database table? Is it better as a datetime + a timespan or should I use 2 datetime fields?
Thanks, I know the question could be stupid but maybe there is something that has analyzed it and find out something important.
I would use two datetimes, as it saves you a calculation 🙂