similar to: Sharing a Hashtable between all sessions?

Displaying 20 results from an estimated 10000 matches similar to: "Sharing a Hashtable between all sessions?"

2006 Apr 11
9
Rails failure after upgrade to 1.1.2
Greetings, I tried upgrading Rails to 1.1.2 and now nothing is really working. In connection to the Rails upgrade I upgraded my Ruby version to 1.9.0. I also upgraded all my gem installs. Since my old rails apps stopped working I tried generating a fresh one , alas with the same result. Below I included the full trace when trying to reach the app. Line 3 in application.rb is : class
2006 Jul 12
11
ruby-debug 0.1.3
Hello Everyone, I''m pleasant to announce the release of ruby-debug 0.1.3. If you think that ruby-breakpoint is too limited for your needs and debug.rb brings your application to its knees, you might find this small extension useful. INSTALL It''s a usual procedure: $ gem install ruby-debug DOCS This library has almost identical interface with the standard debug.rblibrary.
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi, I''m interested in using a currency conversion web service in my rails app. Does anyone have a free service that they use and like? I found this one http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10 I''ve tried to make a simple, plain Ruby script to connect to this and get a conversion rate without success. How do I integrate a webservice into my rails app? I
2006 Dec 01
3
Sessions in Layered Dispatching
Can you use sessions in layered dispatching? I used them in direct dispatching without any problems, but switching to layered throws an error (saying session doesn''t exist). Sorry if this is a double post, Google Groups isn''t posting my message for some reason. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this
2006 Sep 09
3
Per field analyzer
Is there a way to add per-field analyzer? I can''t seem to find a way to do that. Thanks -- Kent --- http://www.datanoise.com
2006 Jul 25
3
about ERB sample
Hi list: I run the ri''s ERB doc 1st sample 1. require ''erb'' 2. x = 42 3. template = ERB.new <<-EOF 4. The value of x is: 5. EOF 6. puts template.result(binding) the doc say it will print "The value of x is: 42" but my irb print "nil" and there is a "=> #<ERB:0x2970b24
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello. I hope this is the right place to describe my problem ? After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web Service functional tests seem broken. I upgraded rails (as the root user / administrator) with: # gem update rails --include-dependencies then I upgraded my application (as myself) with: ? rake rails:update % rake rails:update:configs After these steps,
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi, I think there is still a major vulnerability exists in the latest Rails 1.1.5. The problem is in the routing.rb file and safe_load_paths method. Because of the erroneous regexp it is possible to perform a DOS attack on any rails application. To reproduce: 1. start your application 2. use this url: http://localhost:3000/debug Routing module will load standard debug.rb script which stops a
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows. class BackendApi < ActionWebService::API::Base api_method :find_all_vobs, :returns => [[:int]] api_method :find_vob_by_id, :expects => [:int], :returns => [Vob] class BackendController < ApplicationController wsdl_service_name ''Backend''
2006 Jul 28
8
mass emails
Say we have 20k-50k users signed up for an email newsletter. Does anyone have any data on how well ActionMailer does with mass emails? How long would that take to send? Anything I should watch out for? Thanks, Joe
2006 Jul 10
18
Deleting join association of has_many :through
I''m trying to use has_many :through, since my join model deserves being more than just an intersection table. But when I try to break the association, the break only seems "temporary": Let''s say my two tables are Users and Colors, and the join model is Favorites. user = Users.find(1) user.colors.length >> 2 c = user.colors.first >> #<Color:....>
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel and apache and I looked into lighttpd and fastcgi and found both to be too time consuming and not well enough documented for what I''m doing. My question is, how do I set up apache and fcgid to actually work? I got apache installed. I think I got fcgid installed (I read somewhere all I have to do is move the
2006 Apr 06
2
Directory for ActionWebService classes?
Hi all, If ApplicationController subclasses live in app/controllers, and ActionWebService::API::Base subclasses live in app/apis, do subclasses of ActionWebService::Base live in app/services? This may be a "duh" question, but I couldn''t find an explicit mention of it anywhere. Thanks, Dan
2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever
2006 Feb 17
2
form_tag with protocol => ''https'' help
Hi, I am not having much luck using the form_tag with a protocol. I try the following in my view: index.rhtml <%= form_tag({:controller => ''home'',:action => ''login'',:protocol => ''https''},{:method => ''post''}) %> hoping it would generate <form action=''https://myhost.com/home/login''
2006 Feb 17
2
console doesn''t work
any one know this problem? when i try to run console #--------------------------------------------------------------- >ruby script/console >Loading development environment. >/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file to load -- readline >(LoadError) > from /usr/local/lib/ruby/1.8/irb/completion.rb:10 > from
2006 Jul 21
15
RoRED a free Ruby on Rails editor for Windows
Hi. On http://www.plasmacode.com you can download RoRED, a free IDE for Ruby on Rails apps, only for Windows. It has some interesting features like tab-grouping of related MVC files, code navigation into methods (ctrl+click), and more. Best regards, Marcus. http://www.plasmacode.com -- Posted via http://www.ruby-forum.com/.
2006 Sep 06
9
Which analyzer to use
Lucene''s standard analyzer splits words separater with underscores. Ferret doesn''t do this. For example, if I create an index with only document ''test_case'' and search for ''case'' it doesn''t find anything. Lucene on the other hand finds it. The same story goes for words separated by colons. Which analyzer should I use to emulate
2006 Mar 07
17
Handling Erros from AWDWR
I''m getting to the point now where I really need to start trapping the errors. So from my AWDWR book, I added the following directly from the book into application.rb... def rescue_action_in_public(exception) case exception when ActiveRecord::RecordNotFound, ActionController::UnknownAction render(:file => "#{RAILS_ROOT}/public/404.html",