similar to: RoR and Threads...

Displaying 20 results from an estimated 7000 matches similar to: "RoR and Threads..."

2006 Mar 29
13
Rails on Mongrel
Hi, After following advice from you good folks, I gave mongrel a try in a cluster design based on the example on the Mongrel website - and it worked right out of the box which is great - and it''s very fast :) I have got a bit stuck though. I have two MS Word files in /public/files/. I can pull back these files no problem but it isn''t sending a mimetype. I think I have two
2006 Apr 12
1
URL Paths
Hi, I''m looking to rewrite an existing app in Ruby but it makes extensive use of URL paths. For example a site would redirect to : /Portal/foo/ and from this I could tell that ''foo'' was the site that did the redirect. Of course when I try this with Ruby I get "method not found" which is hardly surprising. I''ve had a quick look round google but
2006 Mar 24
19
Storing images in Ruby
Hi, I''d like to allow users to upload images and store those images in a Postgres database. I''ve looked through the example in "aguile development with rails" which suggests using the MySQL blob field. When I wrote a similar app in Java, we Base64 encoded the file and then stored it as a text field. Is this easy to do in RoR too? Any advice you can give me would
2011 Jan 03
4
How to get soap4r to not bother verifying SSL certificate (verify_mode none)?
Using Ruby 1.8.7, Rails 2.3.8. I don''t want it to verify the cert... This is my backtrace: OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed): httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `connect'' httpclient (2.1.5.2) lib/httpclient/session.rb:247:in `ssl_connect'' httpclient
2006 Mar 21
11
Stuck on ActiveRecord
Hi, I''m having great fun developing with Rails but I''ve come to a problem that I can''t quite figure out. I have an Order object that "has_many" order_lines. This works perfectly and I can see all the lines. The OrderLine object has an order_id field as well as product_id and amount. Now ideally I would want to do : order.orderline[0].product.name for
2006 Mar 28
6
Deploying rails...
Hi, I thought I''d give lighttpd and FastCGI a go but the latest version I''ve found for fastcgi is 2.4.0 which was released in January 2003. Is this the right version? Can anyone recommend the versions I should use for FastCGI et al and where to find them? I''m not sure I''ve really found what I''m looking for... -- Posted via
2004 Oct 01
6
xm list dropping domain?
I rebooted xenU from console (dom2) and exited (ctr-]). xm list does not report 2 anymore yet I can log into 2 via console and it is running just fine. Is this a bug? I''ll pull/rebuild and see what happens.. (this is xen-2.0, cset 1.1321.1.1, rh7.3 dom0/dom1) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on
2003 Jan 07
5
Usernames with dots
Now that I have winbind working, life is good. However, I've hit upon a real kick in the pants. As you can see from my email address, we have a convention here of usernames being firstname.lastname. So, when I go to change the owner ship of a file: $ chown chris.palmer myfile Linux thinks I mean user chris, group palmer, and says "invalid group" (there is no palmer group,
2009 Mar 15
2
How can I add TimeoutHandler to EvenmentMachine
Hi, list Now I am coding for one non-blocking httpclient based on event-machine, and it seems the client will hang for 50 seconds if the destination is unreachable. My questions are 1. How can I short the timeout? I had tried conn.set_comm_inactivity_timeout(5), but it didn''t work 2. How can I add TimeoutHandler to the connection? Thanks! /Jack -- Jack Tang Software
2006 Feb 08
4
ssl certificates
Hi, could someone help me with ssl certificates? i have mycert.pfx file (client certificate) and CA certificate ca.cer. i far as i know, ruby doesn''t understand pfx format, so i''ve converted it to pem format. in viewer pem looks like: Bag attributes blabla Key Attributes blabla ---begin rsa private key--- blabla ---end rsa private key----- --begin certificate-------- blabla
2012 Oct 30
2
RCurl - curlPerform - Time out?!?
Hi, I am working with the RCurl package and I am using the curlPerform function for an soap-query. The problem is that the code is usually working well, but sometimes the connection gets lost. So I wrote a while-loop to repeat the query if anything might happened so that the same query runs again, but if the query-faults it takes a very long time for the repetition. My question is if there
2006 May 25
1
Logging in production
Hi, I have an application that''s about to go live and the production logs show what was sent to the application such as usernames and passwords. I don''t want this information recorded anywhere for security reasons - how can I stop rails recording this information? Thanks in advance! Cheers, Pete -- Posted via http://www.ruby-forum.com/.
2009 Jan 28
6
Creating an object from a pp string?
When I use pp on an object in rails, it prints out a nice string representation of the object. I am trying to pass objects from one server to another and I am wondering if I can just pass this string and create an object on the other server. Any libraries/functions out there that can do this? Or any other way to do this (not necessarily using pp). Thanks! -- Posted via
2019 Nov 15
5
Can't log in to Phabricator with my @google.com account
See screenshot. :) Is this supposed to work, or should I use a different, non- at google.com account? Thanks for any clues. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191115/e8f5e795/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name:
2013 Nov 15
37
[Bug 71659] New: [NVD9] Hangs under load with ![ PFIFO][0000:01:00.0] unhandled status 0x00800000
https://bugs.freedesktop.org/show_bug.cgi?id=71659 Priority: medium Bug ID: 71659 Assignee: nouveau at lists.freedesktop.org Summary: [NVD9] Hangs under load with ![ PFIFO][0000:01:00.0] unhandled status 0x00800000 QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified
2011 Feb 28
2
Generation of M3U and XSPF
Hello, I'm a new user of icecast which is a really cool software. I use it with the the http proxy module of apache httpd to do port forwarding with 2 sub domains. On my router i forward all tcp traffic of the port 80 to my server. 2 Sub domains are redirected to my server : radio.mydomain.com (icecast) music.mydomain.com (ampache) my apache server host the ampache application with a
2008 Mar 03
15
update_attributes not updating
For some strange reason I can''t get update_attributes to work. Any reason why that might be? here is my code: controller: def update @user = User.find(params[:id]) respond_to do |format| if @user.update_attributes(params[:user]) flash[:notice] = ''Your Information was successfully updated.'' format.html { redirect_to(user_url(@user))
2001 Apr 12
1
Install Packages
Hi, I am trying to install "Rstrams" package, I have download the Rstreams_1.1-2.tar.gz in my computer and I tried the following 1. install.packages("Rstreams",lib=.lib.loc,"c:/R/package/Rstreams_1.1-2.tar.gz" ) I got 'lynx' is not recognized as an internal or external command, operable program or batch file. Error in httpclient(url,
2003 Jan 08
5
Default domain for winbindd?
Hello once again, I've got winbind doing authentication not just for the samba service but also sshd and login. It's great. However, I have to give a fully-qualified username (e.g. "GENEEDINC+chris.palmer") as the username when logging in via these methods. I wondered, Is there any way to get winbindd to insert the domain and the separator for the user, when none is provided? I
2007 Feb 22
33
Scaling Puppet 0.22.1 to hunderdes of nodes.
Hi, My environment is composed of ~250 workstations hitting a single puppetmaster server, which has been working fairly well up until now. The most recent change has been a migration of a lot of remote file copy objects which were previously handled with cfengine. client side puppetd calls to the puppetmaster.getconfig method are taking unreasonably long, on the order of 2-3 minutes. It