Displaying 20 results from an estimated 800 matches similar to: "Bizzare Date, DateTime, date_select issues"
2011 Feb 28
0
MultiDimensional arrays
hello,
I'm working with a 4 dimensional NetCDF file, trying to calculate some
summary statistics on a parameter.
The dimensions are number of rows and columns, time and days. The
attribute in question in this case happens
to be a probability of woodstork foraging success. But it could be anything
My question is whether the following code is efficient to grab the
probability values ? I am
2011 Mar 26
0
NetCDF - rolling means and StdDev
Hello,
I am trying to come up with a routine to calculate a rolling mean and
standard deviation for three parameters stored in a NetCDF file. The NetCDF
file contains 10 years of daily records for each of the three parameters,
and I need the statistics for each of the three parameters.
Below I include some code illustrating what I've done so far. Obviously this
approach does not get at the
2006 Mar 19
0
Bizzare DTMF on channel bank
I have incoming PSTN lines on an Adtran 750 channel bank. Calls are
evaluated by an agi script based on callerid and forwarded to an
international DID through Voxee. There is an IVR at that number that
asked to user to enter a selection. When the user presses a key, my pbx
puts the call on hold and tries to start music on hold. What's doing
this? I have no backgrounds, no listen, the call
2011 May 11
1
bizzare performance problem
I had a rather strange problem last week with one of our 8 core
servers. The users complained the performance was "slow" so I checked
the basic things, processes on top, vmstat for memory and context
switching, i/o stats for internal disk I/O, netstat for any network
issues and other things like network through put by copying a large
file (1gb file across the network).
It turned out I
2014 Sep 22
1
LS command bizzare behavior
Hi,
My bosses are running into an issue, where we type "ls" on a nfs mounted
filesystem, and files that are there are not listed...
I thought it was pilot error until my big boss showed me...
but we can vi the files, we can access them via other means if we know
the name. Then once we have accessed them, LS now shows the files.
We are running centos 6.5, we are accessing them via
2007 Mar 20
1
Bizzare behaviour of Samba+ADS - help needed
I have samba+ads working fine *HOWEVER* when I run net ads keytab create
it fails.
Using -d 10 the debug output says it cannot write to the file. This is
truly bizarre as I am running this as root!
e.g.
# /usr/local/opt/samba/samba-3.0.24/bin/net ads keytab create ; echo $?
183
And
/usr/local/opt/samba/samba-3.0.24/bin/net -d 10 ads keytab create ; echo
$?
Gives
[..snip..]
ads_get_kvno:
2008 May 23
3
Somewhat bizzare share issue
I have 19 servers with this smb.conf share definition working:
[export]
comment = Exported Files
path = /tmp/export
guest ok = Yes
On the 20th server however, this just doesn't want to work.
I've gone through the basics of guest access and permissions more than a few times trying to figure this one out.
Approaching this from another angle, I tried the following
2006 Jan 19
2
date_select broken
I am using date_select and in some instances it only shows about 10
years worth of choices. Same form on other users shows the whole
range. date_select looks like this
<%= date_select ''user'',''birthdate'' , :start_year => 1940 %>
I would expect to always see 1940-2006 or so , but i dont always do.
Is there a way to force the range or explain why i
2006 Nov 04
2
date_select parameter
Trying to add start year to date_select
<%= date_select(:start_year => 1980)%>
It''s throwing an exception "wrong number of arguments (1 for 0)
Can''t I add a start_year, API shows this option ?
TIA
Stuart
http://en.wikipedia.org/wiki/Dark_ambient
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2005 Feb 15
5
date_select where to add "class"=>"something"
Hi,
I''ve looked on api.rubyonrails.org but I''ve not found how to add to a
date_select(object, method, options = {}) a class option to set the
class of all the select tags.
I''ve tried using "class" => "myclass" in thoose ways:
<%= date_select("costo", "data", "class" => "testo" ) %>
<%=
2006 Jul 26
2
text_field and date_select in collection
hello,
i would like to display a collection of records on one page (e.g. an
author record with all his/her books).
a record contains a text_area (e.g. a description of the book) and a
date_select (e.g. when the book was published).
<% for @book in @author.books %>
<%= text_area ''book[]'', ''note'' %>
<%= datetime_select
2005 Dec 15
1
date_select help
I''m trying to select items from a database by their date field. The date
data is coming from a form using the date_select helper.
The field in the database is named date_notified_on.
My controller method is this:
def history_date
if(@params)
@notifications = Notification.find(:all, :conditions =>
["date_notified_on = ?",
2007 Jun 13
3
date_select css options
Just looked at the Date helper in the rails API and noticed that none
of the functions there (i.e. date_select) allow me to specify html
options (i.e. class) for the generated selects.
I was wondering how do other group members css format date select
dropdowns?
Best,
Gabor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2006 Feb 28
1
RoR date_select() default date
Hi,
I''m trying to use the date_select() function of ruby on rails, but I
want my form easier to use and I want to put an explicit default date.
I don''t kow how to do that. I can''t find any information about default
on the web, and no example either.
Let me know if there is a tips that I don''t know...
--
Posted via http://www.ruby-forum.com/.
2005 Apr 20
1
default date in date_select?
Hi there,
I''m new to Rails -- started with this project just about five days ago
-- I''m re-building an in-house ordering tool, and it would be handy to
pre-populate a date_select field with a value two weeks from now. The
calculation isn''t the hard part, it''s getting date_select to
pre-populate itself.
Any suggestions?
Thanks,
--Jim
2009 Mar 13
2
date_select and HTML options?
I have the following code, but can''t seem to get the class attribute
to show up in the generated select elements. I saw something about a
bug/patch. However, as am still learning RoR I didn''t want to jump to
conclusions. Anyone see anything wrong:
<%= f.date_select :expiration_date, :order =>
[:month, :year], :discard_day => true, :class => "dtfld" %>
2006 Jun 12
2
date_select() in collection
Hi,
I am doing the following:
<% obj.contracts.each do |@contract| -%>
...
<%= hidden_field("contract[]", :contractor_id, :index =>
@contract.contractor.id) %>
<%= date_select("contract[]", :starting_on, :index =>
@contract.contractor.id) %>
...
<% end -%>
Here are the request parameters:
{"commit"=>"Save",
2006 Feb 28
1
Working with date_select ...
I am a little confused about the best way to work with date_select. I see that
in my views it generates a simple input form that allows for the entry of year,
month and date information. If I just leave it at that, great!
But what if now in the controller, I want to work with the date information. I
actually want to take the user input date and compute a new date some number of
days in the
2006 Sep 12
1
How to use a text box instead a lis for year in date_select
Hi,
I have a date_select in my application and is used to select birth date
of authers. So it is quite long list of years in drop down list and
seems not practical. I want to have month and date drop downs as it is
and to use a text box to enter only the year. Is it possible with
date_select?
Thank you.
Sameera
--
Posted via http://www.ruby-forum.com/.
2006 Dec 10
2
set specific date with date_select
Hi All
I seem to have a problem with date_select methods. I cannot set a
default date. I tried the following:
<%= date_select( "post", "written_on", :selected => Date.new(2005,3,31),
:order => [:day, :month, :year] ) %>
But still I get todays date :(
Any suggestions what I do wrong here ?
Thnx a lot
LuCa
--
Posted via http://www.ruby-forum.com/.