[Rails] Re: Which is the best way to do this? (about save time data

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 11:27 AM, John Smith < rails-mailing-l...@andreas-s.net> wrote: > > Thanks for your help, Charles. I appreciate it. > > What I want is the duration needed to complete a specific task. So when > I have a lot of tasks, I will be able to search tasks width its > durations is b

[Rails] Re: Which is the best way to do this? (about save time data

2009-03-13 Thread John Smith
Thanks for your help, Charles. I appreciate it. What I want is the duration needed to complete a specific task. So when I have a lot of tasks, I will be able to search tasks width its durations is bigger that 2 hours and 10 minutes, for example. I don't care about days, monts of yearsM I only

[Rails] Re: Which is the best way to do this? (about save time data)

2009-03-13 Thread Charles Johnson
On Fri, Mar 13, 2009 at 8:00 AM, John Smith < rails-mailing-l...@andreas-s.net> wrote: > > I think that select_hour(0) and select_minute(0) it's what I need. I > just want to save the time it's needed to complete a task, so I only > need to select and hour and minutes. How should I save this? Like

[Rails] Re: Which is the best way to do this? (about save time data)

2009-03-13 Thread John Smith
I think that select_hour(0) and select_minute(0) it's what I need. I just want to save the time it's needed to complete a task, so I only need to select and hour and minutes. How should I save this? Like a string or like a datetime? I think it would b better datetime, because I want to search

[Rails] Re: Which is the best way to do this? (about save time data)

2009-03-12 Thread Charles Johnson
On Thu, Mar 12, 2009 at 2:39 PM, John Smith < rails-mailing-l...@andreas-s.net> wrote: > > I want to save the time that is needed to complete a task I would like > to save hours and minutes, after filling a form. So I need a select tag, > but I am not able to use select_time the way way I want. By