Displaying 20 results from an estimated 10000 matches similar to: "Time input with select_time"
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
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
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 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:
<%=
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
2001 Mar 08
1
FREE information on HOW TO BEAT THE NAPSTER CENSOR!
If Napster won't help - WE WILL! Everything you want
is available RIGHT NOW at #MP3_DEPOT on IRC; the server is
irc.action-irc.net.
Need speed? Well, most of our databases are cable
or T-1. The servers are all megaspeed - all are on a
fiber channel. You won't be disappointed. And we
have servers in the U.S., Canada, Europe, even
Australia. Wherever you are, there is a server
2005 Feb 13
5
Select Enumerated Values with FormOptionsHelper
Hey,
I''m new, so apologies if I''ve overlooked obvious resources or violated
any etiquette rules for this list.
Since rails does not support the MySQL enum data type, I''m following
David''s advice of using a varchar and storing the valid values in the
application:
http://one.textdrive.com/pipermail/rails/2005-January/001536.html
So here''s my
2006 Jul 19
3
Component Question
It appears that in Rails''s initializer.rb, the $LOAD_PATH is initialized
with the paths for all the components included in the app before the
models. This has the effect that if there is Foo class in your models
directory and a Foo class in a component you''ve included, the Rails
loader loads the component and not the model from your models directory.
While you could
2009 Jun 02
3
[LLVMdev] Is there a control dependence graph builder?
Hi,
In browsing through the LLVM source, I don't currently see an implementation
for a control dependence graph builder. Am I overlooking something?
It doesn't look like LLVM currently provides a way to build the
post-dominance frontier of the reverse CFG, either. Dominators.h mentions
forward dominators, but I believe all this is referring to is dominators as
opposed to post-dominators,
2016 Jun 01
4
Adding BB input/output registers during ISel
Hello all,
I am developing an out-of-tree backend for a unique simd processor and I'm
looking for a bit of help. In my current design, it's possible for a case
to arise where I decide during instruction legalization that a fixed-sized
array of vectors which has been initially allocated on the stack needs to
be lowered into the vector register file. I have this design working for
the case
2015 Jan 28
0
Asterisk Java API - Up to date
On Tue, Jan 27, 2015 at 4:14 PM, symack <symack at gmail.com> wrote:
> Hello Everyone,
>
> I am required to write a java program that will get our asterisk to:
>
> * Query the database for phone numbers
> * Loop through numbers and dial
> * Play message
> * Get dial pressed response
> - If 1 = Yes
> - If 2 = No
> - If 3 = Connect to Agent
2004 Nov 29
2
Log file with application running in wineconsole
Hello,
I still didn't find a solution to prevent a large logfile when using
wineconsole :-(
I'm running a windows console (CUI) application using wineconsole and I
noticed all screen output gets logged in /tmp/wine.log.*
I turned of all debug channels with debugmesg -all, but it still logs the
normal screen output of the application (minus the debugmessages). The
problems is that my
2004 Jul 13
2
Permissions problem...I must be overlooking *something*...
I have a share I can't seem to create files on, and I can't figure out why.
I get "Access denied" from Windows, and the samba log shows this:
[2004/07/13 10:52:26, 2] smbd/open.c:open_directory(1293)
open_directory: failing create on read-only share
[2004/07/13 10:52:26, 2] smbd/open.c:open_directory(1293)
open_directory: failing create on read-only share
The share has the
2018 Apr 04
4
memory cgroup max_usage_in_bytes question
hi all,
can someone help explaining what we are seeing? it makes no sense to us.
this is a host running centos 7.4 with 3.10.0-693.17.1 kernel, and it
has 192GB of ram
> [] free -b
> total used free shared buff/cache available
> Mem: 201402642432 14413479936 75642777600 48586752 111346384896 185689632768
> Swap: 21474832384 31961088
2010 Sep 30
3
xen 4 and grub2 on debian squeeze
Hi!
I''m experimenting with Xen 4 on Squeeze. Squeeze uses grub2 by
default, and the config format has changed. I can''t for the life of
me figure out where to set options for the hypervisor and the Dom0
kernel on bootup.
It seems the grub2 stanza for xen is being generated by
/etc/grub.d/20_linux_xen and that seems to have some provisions for
receiving arguments, but I
2006 Aug 02
2
Hiding Model Attribute
I have a model object for which I would like to effectively hide one
attribute (a password hash) so that it is never returned by a find_*
call. I have tried several unsuccessful means. Is there a simple way
to do this that I am overlooking?
Thanks,
Doug
2005 Mar 07
2
2-Ring Delay for CLID
Hello All,
Need a little direction, please. I have searched the lists, WIKI, and
googled a problem that I'm sure I'm overlooking. I understand why
Asterisk/Zaptel waits two rings to answer (caller ID must be sent) but
can I reduce the amount of time it takes before Asterisk/Zaptel answers?
In other words, I'm not concerned about Caller ID and want the line
answered as quickly as