search for: select_timer

Displaying 13 results from an estimated 13 matches for "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. calls table recieved field.
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'' to ''23'' 3) Would like to have
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.
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
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 received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Mar 21
5
Getting a time select input
I''m having 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 =>
2005 Dec 23
6
Selecting time
I''m currently building a small app that''s going to be used to keep track of the amount of time spend on customers of the company I work for. This mainly consists of object with a begin time, an end time and a calculation of the difference between those timestamps (actual time spend on the job). I made a small form with a datetime_select helper for the begin and end time (the
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
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error. I have an action called ''commit_input'' on a controller called ''SiteVisitController''. This definately exists, and is called from the functional test for it, and passes fine. My problem is with the form that is supposed to call this action. The form tag is: <%=
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.000...
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.000...
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