similar to: Passing a browser variable to Rails?

Displaying 20 results from an estimated 12000 matches similar to: "Passing a browser variable to Rails?"

2006 Jun 14
3
JS variable -> ruby?
I have a little javascipt script to determine a users GMT timezone offset... is it possible to use that variable in ruby code, in the view? js script: <script type="text/javascript"> Now = new Date(); tzOff = Now.getTimezoneOffset(); tzOff = tzOff/60; </script> Thanks! -stirman -- Posted via http://www.ruby-forum.com/.
2006 Feb 21
7
non simultaneous effects
Hi all, If I call this function bla: function bla() { Effect.Appear('some_element'); Effect.Appear('some_other_element'); } Both effect happen at the same time. Is there a way to stop this from happening? I mean, how can I delay the effect on 'some_other_element' from happening until the effect on 'some_element' is finished? thanks and regards, Jeroen
2006 Jun 18
2
using javascript to get an attribute using an ID
Hi everyone, I''m trying to use ajax to update the selected value of a select element. Here''s what I have so far: function RailsModel(model_name) { this.model_name = model_name; } RailsModel.prototype.getAttributeById = function(attribute, id) { Ajax.Request(''/models/get_attribute_by_id/'' + this.model_name + ''/'' + attribute +
2011 Jul 13
14
Using timezone javascript to set Time.zone
I''ve got a javascript that provides me with the timezone for the client. I want to use this to set Time.zone so that all my times stored in the database are displayed in the timezone for the client. So really simplistically var timezone = jstz.determine_timezone().timezone Time.zone = timezone.olson_tz obviously this can''t be done. I''ve taken a look on the web and can
2004 Mar 05
2
3.8p1 not honoring TZ environment variable
Hello, I just built openssh 3.8p1 on an HP-UX 11i machine. All looks well except for the timezone. I'm noticing now that when it logs stuff to syslog, it's off by 2 hours for me. What I've figured is this: My timezone is MST7MDT (mountain time). The timezone in /etc/default/tz is EST5EDT (eastern time). There's a 2 hour difference between mountain & eastern time. What
2004 Jun 26
1
Problem setting environment variable in R/zzz.R
I am trying to get the Rmetrics.org component package fBasics by Diethelm Wuertz into a Debian package. Thanks to a lot of work by Diethelm, it is _almost_ there. It fails 'R CMD check' for me if I do not have the TZ environment variable set [1], yet works fine as long as I set TZ. I figured I could patch this in R/zzz.R and do ## set a timezone if none found in environment
2017 Oct 19
0
Another issue with Sys.timezone
On Wed, 18 Oct 2017 18:09:41 +0200 Martin Maechler <maechler at stat.math.ethz.ch> wrote: >>>>>> Martin Maechler <maechler at stat.math.ethz.ch> >>>>>> on Mon, 16 Oct 2017 19:13:31 +0200 writes: (I also included a reply to part of this response of yours below.) >>>>>> Stephen Berman <stephen.berman at gmx.net>
2017 Feb 01
0
time zone
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Richard > Sent: Tuesday, January 31, 2017 7:52 PM > To: CentOS mailing list > Subject: Re: [CentOS] time zone > > > > > Date: Tuesday, January 31, 2017 19:35:46 -0500 > > From: TE Dukes <tdukes at palmettoshopper.com> > > > >> From: CentOS
2017 Oct 16
0
Another issue with Sys.timezone
>>>>> Stephen Berman <stephen.berman at gmx.net> >>>>> on Sun, 15 Oct 2017 01:53:12 +0200 writes: > (I reported the test failure mentioned below to R-help but was advised > that this list is the right one to address the issue; in the meantime I > investigated the matter somewhat more closely, including searching > recent R-devel
2017 Oct 20
1
Another issue with Sys.timezone
>>>>> Stephen Berman <stephen.berman at gmx.net> >>>>> on Thu, 19 Oct 2017 17:12:50 +0200 writes: > On Wed, 18 Oct 2017 18:09:41 +0200 Martin Maechler <maechler at stat.math.ethz.ch> wrote: >>>>>>> Martin Maechler <maechler at stat.math.ethz.ch> >>>>>>> on Mon, 16 Oct 2017 19:13:31 +0200
2005 Apr 19
1
timeSeries Date Warning messages: Set timezone to GMT!
Hello, I must be doing something wrong that's very obvious. But I just don't see it. I changed my Windows Time Zone to GMT and my Financial Center to Montreal. But I still get several warnings. >Sys.timezone() [1] "GMT Daylight Time" >myFinCenter [1] "Montreal" >Sys.timeDate() [1] "Montreal" [1] [2005-04-19 10:55:02] Warning messages: 1: Set
2017 Feb 01
0
time zone
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Richard > Sent: Tuesday, January 31, 2017 6:46 PM > To: CentOS mailing list > Subject: Re: [CentOS] time zone > > > > > Date: Tuesday, January 31, 2017 18:16:36 -0500 > > From: TE Dukes <tdukes at palmettoshopper.com> > > > >> From: CentOS
2005 Dec 20
1
Mib browser
What are people using for a gui mib browser under centos 4. I used to use mbrowse under 3, but it doesn't seem available. Thanks in advance Graham Johnston Senior Network Analyst Westman Communications Group 204.725.4300 ext 382 johnstong at westmancom.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Aug 23
3
Kickstart issue with UEFi
On Tue, 23 Aug 2016 at 02:18 Gordon Messmer <gordon.messmer at gmail.com> wrote: > On 08/21/2016 11:56 PM, Phil Manuel wrote: > > part /boot/efi --fstype="efi" --size=200 --ondisk=sda > > And I have tried the latter with location as mbr still fails > > What am I missing ? > > > I very vaguely remember struggling with this as well, but I can't find
2017 Feb 01
2
time zone
> Date: Tuesday, January 31, 2017 19:35:46 -0500 > From: TE Dukes <tdukes at palmettoshopper.com> > >> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of >> Richard Sent: Tuesday, January 31, 2017 6:46 PM >> >> > Date: Tuesday, January 31, 2017 18:16:36 -0500 >> > From: TE Dukes <tdukes at palmettoshopper.com> >> >
2017 Jan 31
1
time zone
> Date: Tuesday, January 31, 2017 16:59:32 -0500 > From: TE Dukes <tdukes at palmettoshopper.com> > > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Richard > Sent: Tuesday, January 31, 2017 4:44 PM > >> Date: Tuesday, January 31, 2017 16:02:37 -0500 >> From: TE Dukes <tdukes at palmettoshopper.com> >> >> Today, I started
2012 Jun 13
0
Weird (?) ActiveSupport::TimeZone parse behaviour
Hi I must be slipping, but say I have a string that looks like: 3/11/2012 2:50:00 AM If I use the UTC timezone and ask it to parse this time, what would you expect the result to be? Personally, I''d say 3/11/2012 2:50:00 AM UTC Given this is the DST switchover date (for some places) this is an edge case. It''s the "spring forward" rule so 2:50 AM is 3:50... But
2017 Feb 01
1
time zone
> Date: Tuesday, January 31, 2017 21:38:35 -0500 > From: TE Dukes <tdukes at palmettoshopper.com> > > > There have been no changes to the php.ini. Not sure how to output > phpinfo to a text file for posting. > > System Linux ts130.palmettodomains.com 3.10.0-514.6.1.el7.x86_64 > #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 > Build Date Nov 6 2016 00:30:05 >
2017 Oct 18
2
Another issue with Sys.timezone
>>>>> Martin Maechler <maechler at stat.math.ethz.ch> >>>>> on Mon, 16 Oct 2017 19:13:31 +0200 writes: >>>>> Stephen Berman <stephen.berman at gmx.net> >>>>> on Sun, 15 Oct 2017 01:53:12 +0200 writes: > > (I reported the test failure mentioned below to R-help but was advised > > that this list is
2011 Jun 01
6
[Bug 8198] New: rsync does not set TZ variable after chroot(), which confuses logging timestamps
https://bugzilla.samba.org/show_bug.cgi?id=8198 Summary: rsync does not set TZ variable after chroot(), which confuses logging timestamps Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at