search for: select_time

Displaying 13 results from an estimated 13 matches for "select_time".

Did you mean: select_timer
2006 Mar 12
3
select_time help needed (Noob)
I can''t seem to get a handle on how the select_time helper is supposed to work. I''m a complete noob to rails so bear with me please. I''m trying to add fields to a form to allow for time (hh:mm) selection ie. call received, enroute, etc.. I don''t understand how one maps the form data to the table object and field ie. ca...
2006 Jan 20
2
select_time issue: how to get hours only upto 12 along with AM/PM
My code is like this: <%= select_time () %> 1) I would like to pass more options so that the a blank value is at the top. I tried ":include_blank => true" but it didn''t work. 2) I would like to limit the number of hours to only upto 12. With the current code the hours has value rangin from ''00...
2005 Mar 04
0
Time input with select_time
In MySQL I have a table named "game_times" with a time type field named "begin". I figured it would be straightforward to use "select_time" to get input in the view: <%= select_time(Time.now, :prefix => "game_time[begin]") %> However, in the controller: @game_time = GameTime.new(@params["game_time"]) Doesn''t seem to work. Is there a simple way to do this that I''m overlooking?...
2006 Aug 02
0
newbie: Using text_field for date and select_time for time
Hi, I am having java script to enter the date using a calander to a text_field and having separate select_time for the time selection. but we want the controller end to have the normal ruby time format by concatenating the entered time using select_time and entered date using the text_field (via the calendar) Could someone please let me know how I could do it? I am not sure whether I explained my self...
2007 Jan 23
0
Styling select_time
select_time, select_hour & select_minute all seem to ignore the :class option. Is there a way to apply a CSS class to these fields? Stephen Gerstacker Sr. Database Developer Electronic Data Payment Systems p: 866.578.9740 x114 f: 866.578.9740 --~--~---------~--~----~------------~-------~--~----~ You r...
2006 Mar 21
5
Getting a time select input
...ng trouble workign out which ActionView DateHelpers to display a time input for an ActiveRecord field of type :time. I just want an hours input and a minuites input. I can get these with time_select helper using :field_name and :prefix but it gives both hours and miniutes the same name. <%= select_time(Time.now, :prefix => "search", :field_name => "start_time") %> <select name="search[start_time]"> <!-- hour options --> <select name="search[start_time]"> <!-- min options --> I see when you use the datetime_select it gives...
2005 Dec 23
6
Selecting time
...lect helper for the begin and end time (the column type inside the DB is also dateselect). Because the actual time spend on the job can be less then the difference between begin and end I want this time to be selectable too. Because this attribute only holds hours and minutes I tried to use the select_time helper. Unfortunately there seems to be a small bug in this helper cause the fieldname that''s being parsed is always date["name you give to it using the :field_name option"]. I just tried the datetime_select using the :discard_year and -month options, but this helper always n...
2006 Feb 07
9
Is there a good time_select tag helper?
I''m trying to record a list of start and end times, and they''re simply an hour and a minute. Looking at the API, there''s a select_time helper, but that just creates the tag. There''s a datetime_select helper which takes an object and method name, so it does all the magic...but I only want to worry about the hour and the minute. I''ve tried writing my own so far and have not been able to figure anything out. Does...
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
...<%= select_date( hash2date(tr.visited_on), :prefix=>"site_visit_helper[timesheet_records][#{i.to_s}][visited_on]", :include_blank=>true) %> </td> <td> <%= select_time( hash2time(tr.arrived_at), :prefix=>"site_visit_helper[timesheet_records][#{i.to_s}][arrived_at]", :include_blank=>true, :minute_step=>5) %> </td> <...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...for base-timer\n"); } @@ -479,11 +484,6 @@ void __init time_init(void) return; } #endif - xtime.tv_sec = get_cmos_time(); - xtime.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); - set_normalized_timespec(&wall_to_monotonic, - -xtime.tv_sec, -xtime.tv_nsec); - cur_timer = select_timer(); printk(KERN_INFO "Using %s for high-res timesource\n",cur_timer->name); Index: linux-2.6.16-rc6/arch/i386/kernel/timers/common.c =================================================================== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/common.c 2006-01-02 19:21:10.00...
2007 Apr 18
0
[RFC, PATCH 22/24] i386 Consolidate redundant timer code
...for base-timer\n"); } @@ -479,11 +484,6 @@ void __init time_init(void) return; } #endif - xtime.tv_sec = get_cmos_time(); - xtime.tv_nsec = (INITIAL_JIFFIES % HZ) * (NSEC_PER_SEC / HZ); - set_normalized_timespec(&wall_to_monotonic, - -xtime.tv_sec, -xtime.tv_nsec); - cur_timer = select_timer(); printk(KERN_INFO "Using %s for high-res timesource\n",cur_timer->name); Index: linux-2.6.16-rc6/arch/i386/kernel/timers/common.c =================================================================== --- linux-2.6.16-rc6.orig/arch/i386/kernel/timers/common.c 2006-01-02 19:21:10.00...
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths