[Rails] Re: how to timeout a session in rails 2.3.9

2015-06-04 Thread skrite
Thanks to all on the upgrade to .18 will do this over the weekend. thanks again to all sk On Wednesday, June 3, 2015 at 9:20:52 AM UTC-5, skrite wrote: > > I am running a rails 2.3.9 app and I cannot seem to make the session > expire. > > I have tried the :expires_

[Rails] Re: how to timeout a session in rails 2.3.9

2015-06-03 Thread skrite
i cannot really upgrade. I would love too, but i have a bazillion lines of code for this version running. you were right. terminology was wrong expire_after not expires.. tested and working now, thanks very much ! sk On Wednesday, June 3, 2015 at 9:20:52 AM UTC-5, skrite wrote: > >

[Rails] how to timeout a session in rails 2.3.9

2015-06-03 Thread skrite
I am running a rails 2.3.9 app and I cannot seem to make the session expire. I have tried the :expires_after => in the environment.rb and it works in webrick, but crashes on nginx with passenger. Is there a way in the application controller or somewhere else that I can set a session variable

[Rails] Re: trouble with install of 2.3.9 due to rake requires version of ruby > 1.9

2014-03-25 Thread skrite
looks like that worked, i installed rake version 0.9.2.2 and then was able to install rails 2.3.9 thanks very much for your help sk On Tuesday, March 25, 2014 10:37:09 AM UTC-5, skrite wrote: > > hey all > > i am trying to install rails into a new computer with rvm. > > i h

[Rails] trouble with install of 2.3.9 due to rake requires version of ruby > 1.9

2014-03-25 Thread skrite
hey all i am trying to install rails into a new computer with rvm. i have installed ruby 1.8.7 and rubygems 1.3.7 --force these are both versions that i must have to run my website. the problem is that when i try to install rails with* gem install --version 2.3.9 rails* i get the following

[Rails] connecting to mysql server on LAN cannot pull database

2012-09-26 Thread skrite
Hey all. I have an application that i moved from the main database computer to another computer. So, the only line i should need to change in database.yml would be the host line, i think. However, i cannot get the application to connect. It seems able to connect to the database, but the error i

[Rails] need a file upload plugin and a way to authenticate from another app

2012-06-14 Thread skrite
Hey all, i need to be able to create a mobile application that will upload a file to my rails site. i need the application to authenticate and then upload. I am using the basic roll-your-own authenticate system with a sessions and users controllers. Any ideas where best to find a tutorial o

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-14 Thread skrite
That did it ! See what i mean about something obvious? Thanks very much for your help on this. You have been a terrific, and patient teacher. sk On Dec 14, 3:48 am, Frederick Cheung wrote: > On 14 Dec 2011, at 09:12, skrite wrote: > > > OK, i did try your example and the circl

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-14 Thread skrite
25039","-102.3226989",525.0,81.7,"DC2","DC2", 37241,"#00","#FF",81.7,81.7,"DC20 psi",0], ["35.92361","-102.308768",534.75,74.8,"J1","J1", 559,"#7F7F7F","#FF"

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-13 Thread skrite
2",390.0,165.2,"SL2","SL2", 110823130,"#7F7F7F","#FF",165.4,165.6,"SL20 psi",0], ["35.938729","-102.29968",397.5,89.3,"SL4","SL4", 563,"#7F7F7F","#FF",89.3,89.3,"SL40 psi&

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-13 Thread skrite
om the browser look at url_that_returns_json, they are identical. thanks for your help, again. I have learned a lot the last couple of days :) On Dec 12, 6:22 pm, Jim Ruther Nill wrote: > On Tue, Dec 13, 2011 at 6:08 AM, skrite wrote: > > I am doing something similar here. The website is

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-12 Thread skrite
see something i am doing wrong. Thanks for your help on this so far Jim. sk On Dec 9, 11:49 pm, Jim Ruther Nill wrote: > On Sat, Dec 10, 2011 at 3:56 AM, skrite wrote: > > I am intrigued by this solution, Jim. > > i have a couple of questions, as it seems this is a cleaner way

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-09 Thread skrite
go to the server for that. I guess i am missing the part about how to get the @mapped_sites variable to the controller and back again to the page to rebuild the circles. Thanks for your time on this. sk On Dec 9, 9:48 am, Jim Ruther Nill wrote: > On Fri, Dec 9, 2011 at 11:04 PM, skrite wr

[Rails] Re: how to use javascript to update markers on Google maps

2011-12-09 Thread skrite
-rjs?autoplay=true, > 2.http://railscasts.com/episodes/229-polling-for-changes?autoplay=true > > > > > > > > > > On Thu, Dec 8, 2011 at 1:10 AM, skrite wrote: > > > Hey all, > > i have a google map and i am drawing circles on the map like this.. > > >  va

[Rails] how to use javascript to update markers on Google maps

2011-12-08 Thread skrite
ircle); my question is, that since the fillColor is going to change from time to time, i want to update all the colors of the circles periodically. What i don't know how to do is get the equivelent to the @mapped_sites because if i could, i think i could just delete the existing circles and