similar to: Clearing The Session Table With PostgreSQL

Displaying 20 results from an estimated 10000 matches similar to: "Clearing The Session Table With PostgreSQL"

2006 Mar 03
5
Rails Site: VegasLists.com
Just wanted to drop a note about a new Rails site that we''re testing in the wild, http://www.vegaslists.com. The site allows users to create lists about anything Las Vegas related and then lets other users comment on those lists. It was a project that went from concept to completed in about 2 weeks, working on it after the ''real job'' for fun. It''s very simple
2004 Aug 06
2
Icecast Problems Get Worse
The Icecast problems I mentioned yesterday on our new server are getting worse. This time the server only stayed up for about 30 minutes before dying (no more music - process is still running). Obviously this won't fly. Again, ices reports: Error during send: Libshout reported send error, disconnecting: Libshout socket error That's when everything stops. What can we do? Thanks,
2006 Aug 05
3
Uploading/file_column and Mongrel
Howdy, I recently switched an app to Mongrel and since the switch, when I upload files using the file_column plug-in, the files are not uploaded with the correct permissions. I want something like this: -rw-rw-rw- file.jpg But I am getting: -rw------- file.jpg So, of course the files aren''t being served up by the Web server. Mongrel is running as the ''mongrel''
2006 Jun 28
9
Rails Borked After 1.1.3 Install?
I installed 1.1.3 on my OS X Tiger machine and now I''m seeing very strange results. When hitting a controller action, I am told that perfectly valid methods are not there: NoMethodError (undefined method `find'' for VideoTrack:Module) Huh? Here''s the code in question: VideoTrack.find(:all, :conditions => "featured_video = 1", :order =>
2007 Jan 24
4
Rails App on Mongrel+Apache Stops Listening
Howdy, I''m trying to debug a situation where a Rails app running on Mongrel +Apache stops listening to requests. Restarting Mongrel and Apache brings it back to life. First off, here''s some info on versions, etc...: Red Hat Enterprise Linux ES release 3 (Taroon Update 8) ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux] Mongrel 1.0.1 Rails 1.2.1 fastthread (0.6.2)
2004 Aug 06
2
Getting the Stream to "Just Start Playing" on the client
I'm curious what method y'all are using for getting your streams going on the client. We've been using a hyperlink to the stream like this: http://www.fatfreeradio.net:8000/playlist.pls?mount=/hifi&file=dummy.pls It works okay but people get prompted to save or open the file. It would be better if it just opened their streaming player each time, without the dialog. Anyone know
2006 Sep 15
2
Running Shell Scripts/Commands at Startup?
Someone on the Rails list mentioned that they thought it was possible to get Mongrel to launch other processes at start time. I have an app that relies on backgroundrb and also an external listening program and I''d love it if I could set it up so that when Mongrel starts, these start as well. Is it true that this can be done? Where would I look for documentation on this? I thought
2004 Aug 06
3
Getting the Stream to "Just Start Playing" on the client
Hmmm... Maybe I wasn't clear. This is a public Web site. Some people are using Netscape, most using IE... All different kinds of media players, mostly WinAmp, Real, WMP, and iTunes. What I'm looking for is a way for the media player to be launched automatically. If I choose "Open from this location" from the link, WinAmp DOES open. .pls files *are* mapped to WinAmp, I'd
2006 Feb 09
3
acts_as_taggable Produces Bad SQL - Find Fails
I am using acts_as_taggable in my application and on the tagging side of things, no problem at all. Running edge Rails and PostgreSQL 8.1. I am then trying to find all my AR objects with a certain tag. The tag is: lasvegas and I know that there are at least 3 records with that tag. So, I''m doing this: @lists = List.find_tagged_with :any => @search_string, :separator =>
2006 Oct 03
4
Apache Re-Write and Directories
Howdy, I am using the ''default'' Apache 2.2 mod_rewrite rules suggested from the Web site and they are working. One thing related to static (non cluster directed) resources: If I have a directory in public called ''static'', if I request it as follows: http://www.domain.com/static/ - then it works If I request it as: http://www.domain.com/static - then it
2004 Aug 06
4
Ices
I notice two versions on the Web site, 0.2.2 being shown as developmental. I'm building a new server that will run Icecast 1.3.11 and I'm wondering how stable Ices 0.2.2 is? Are there enough fixes in it that it's worth using it? Thanks, Hunter --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list,
2007 Oct 11
7
1.0.2 release candidates
Hello Mongrels, Release candidates for Mongrel 1.0.2 and its dependencies are now available. Note that gems are now signed, so please add the Mongrel public certificate via: $ wget http://rubyforge.org/frs/download.php/25325/mongrel-public_cert.pem $ gem cert --add mongrel-public_cert.pem Now you can verify and install the candidates via gem install: $ sudo gem install mongrel
2004 Aug 06
4
Ices Looping
I'm wondering if Ices (CVS) loops it's playlist automatically or if I have to add something to the configuration. I looked through all the docs and found no reference to looping... Hunter -- Hunter Hillegas hunter@lastonepicked.com Who is Sharky Towers? What is BroTools? --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To
2005 Jun 16
3
PostgreSQL Scaffold Doesn't Insert PK?
I am new to Rails and Ruby. I''ve been a WebObjects developer for a few years and before that J2EE (shudder). I wanted to try RoR so I am porting an existing Web app. I am running the latest release on Tiger and PG8. Right now my single table has three attributes: id | integer | not null hotel_name | character varying(255) | not null hotel_location |
2006 Sep 25
1
Clearing ActiveRecord Sessions
Hello all, I am interested in using BackgrounDRb to clear out ActiveRecord based sessions. I have this working, just with a small hitch, here is the code: class ClearSessionsWorker < BackgrounDRb::Rails repeat_every 7.minutes first_run Time.now def do_work(args) Session.destroy_all(["updated_at < ?", 20.minute.ago ]) end end It''s not very complicated and
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of a bug in the Ruby interpreter. 0.6.2 works around the bug and should be entirely stable at this point. Thanks to Young Hyun for his help in coming up with test cases. == what? fastthread is a Ruby library which provides a faster (and non-memory-leaking) C implementation of the concurrency primitives from stdlib''s
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems? The rest of my rails setup seems to be working. I just can''t run dispatch.fcgi. (Details in original message below). I have no idea how to troubleshoot this. I''m not even positive it is supposed to be runnable from the command line. I found a troubleshooting guide that implied it was supposed to
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi, I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster 0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1. I am load balancing 3 mongrel processes using the random port trick. When I start mongrel the processes have about 60MB, but after some hour of usage the memory ballons upto more than 180MB and the site becomes terribly slow. Forcing me to restart mongrel
2004 Aug 06
3
Icecast Problems Get Worse
I'm using whatever comes with Icecast 1.3.11 and Ices 0.22. Just grabbed both tarballs from Icecast.org. Is there a way to find out the libshout version? I can't really tell from the Ices source... Hunter > From: tim <tim@nvhs.nl> > Reply-To: icecast@xiph.org > Date: Mon, 27 Aug 2001 17:57:07 +0200 > To: icecast@xiph.org > Subject: Re: [icecast] Icecast Problems
2008 Sep 24
1
Clearing cached results
I''m trying to figure out how to clear the for a worker from my controller. In my aysnc_xxx process I set cache[key]. However, I don''t see an easy way to clear the cache from a controller with invoking something on the worker. What I was looking for was something like MiddleMan(:worker_name, :worker_key_name).cache[key]= Is there something like that and I''m just