Displaying 2 results from an estimated 2 matches for "kohlstedt".
2007 Jul 22
1
Class level variables in Mongrel
I''m trying to use a class level variable @@count as a counter between
requests to the server. So for example I initialize it @@count = 0 at
the top of the class and in a method I have @@count = @@count+1. It
seems though that @@count is begin reinitialized back to 0 each time the
controller is called. Is there something that I''m missing here? I''m
running under
2007 Jul 24
0
send_data and ie
Has anyone else had trouble using send_data with internet explorer. As
usual things were working fine in firefox and safari until I tested in
IE :).
With the following code I''m seeing an image show up in firefox but the
"X" indicating no image found in IE. Any ideas?
@image_data = Image.find(:all, :conditions=>{:url =>
"http://reddit.com"})
@image =