# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=1418

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1419

---

## [Mms2r 1.1.3 Released](https://www.ruby-forum.com/t/mms2r-1-1-3-released/109038)

<div class="topic-metadata">

**Author:** [@mike-moscow](https://www.ruby-forum.com/u/mike-moscow)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 7:39pm UTC](https://www.ruby-forum.com/t/mms2r-1-1-3-released/109038 "2007-07-10T19:39:42Z")

</div>

mms2r version 1.1.3 has been released! http://mms2r.rubyforge.org/ DESCRIPTION: MMS2R is a library that decodes the parts of an MMS message to disk while stripping out advertising injected by the cellphone carriers…

---

## [RFuzz::HttpClient hangs on meta refresh](https://www.ruby-forum.com/t/rfuzz-httpclient-hangs-on-meta-refresh/109036)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/rfuzz-httpclient-hangs-on-meta-refresh/109036 "2007-07-10T19:35:42Z")

</div>

I have to integrate some code with a client who uses SalesForce as its CRM, and I’ve noticed something that might be RFuzz-related when working with the request. SalesForce’s WebToLead service waits for HTTP POSTs to …

---

## [Set\_trace\_func and exceptions](https://www.ruby-forum.com/t/set-trace-func-and-exceptions/108890)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 2\
**Last updated:** [July 10, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/set-trace-func-and-exceptions/108890 "2007-07-10T19:03:17Z")

</div>

There seem to be two problems with set\_trace\_func (or things I don’t understand): The following program does not print “done”. It does not raise an exception. It does set the program’s return code to false. set\_tra…

---

## [Best way to arrange a large lib](https://www.ruby-forum.com/t/best-way-to-arrange-a-large-lib/109017)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/best-way-to-arrange-a-large-lib/109017 "2007-07-10T17:55:01Z")

</div>

Hey guys I have a large(ish) web service that im talking to in several applications and thought it would be best to then organise it into a re-usable library. I am using wsdl2ruby to generate my class stubs, but that…

---

## [Gem\_original\_require](https://www.ruby-forum.com/t/gem-original-require/108935)

<div class="topic-metadata">

**Author:** [@shoxz](https://www.ruby-forum.com/u/shoxz)\
**Replies:** 1\
**Last updated:** [July 10, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/gem-original-require/108935 "2007-07-10T17:45:08Z")

</div>

I am fairly new to ruby so pleae help me. I am getting the “gem\_orginal\_require” error. Here is what I have. The following gems installed: \*\*\* LOCAL GEMS \*\*\* activerecord (1.15.3) Implements the ActiveRecord patter…

---

## [Method to prevent writing over a file](https://www.ruby-forum.com/t/method-to-prevent-writing-over-a-file/108974)

<div class="topic-metadata">

**Author:** [@mtnbiker](https://www.ruby-forum.com/u/mtnbiker)\
**Replies:** 5\
**Last updated:** [July 10, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/method-to-prevent-writing-over-a-file/108974 "2007-07-10T15:11:34Z")

</div>

Coming from OS X, I’m used to protection to overwriting files. I have the need for such protection. Before I write it myself is there a standard method for this? I’d like it work like OS X where if a file of the same …

---

## [Find display value in array](https://www.ruby-forum.com/t/find-display-value-in-array/108995)

<div class="topic-metadata">

**Author:** [@stonebreaker](https://www.ruby-forum.com/u/stonebreaker)\
**Replies:** 5\
**Last updated:** [July 10, 2007, 3:02pm UTC](https://www.ruby-forum.com/t/find-display-value-in-array/108995 "2007-07-10T15:02:33Z")

</div>

Hi, I have a array that looks like this Type = \[\[“key”,“value”\],\[“key…”,“value…”\],\["…","…"\]\] Now i want to the the display (value) when i have the key, is this a OK way to do it? Or is there a better way? Type.selec…

---

## [Get file size before download (noobish question)](https://www.ruby-forum.com/t/get-file-size-before-download-noobish-question/108859)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 14\
**Last updated:** [July 10, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/get-file-size-before-download-noobish-question/108859 "2007-07-10T14:26:12Z")

</div>

Hi, so the subject implies what i want to do, get the file size before downloading. i’ve seen posts about downloading the header, so if possible, could someone give an example of this code??? also, for files without…

---

## [\[Fwd: Netrc?\]](https://www.ruby-forum.com/t/fwd-netrc/108996)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 2:17pm UTC](https://www.ruby-forum.com/t/fwd-netrc/108996 "2007-07-10T14:17:27Z")

</div>

å‰ç”°ã§ã™ã€‚ ãªãœã‹ç§ã®ã¨ã“ã‚ã«ã“ã‚“ãªãƒ¡ãƒ¼ãƒ«ãŒæ¥ã¦ã„ãŸã®ã§ã™ãŒã€è»¢é€ã—ã¦ãŠãã¾ã™ã€‚

---

## [Mac AFP and Ruby](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 2\
**Last updated:** [July 10, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/mac-afp-and-ruby/108967 "2007-07-10T14:16:26Z")

</div>

Ugh. I have searched long and hard for an AFP library for ruby. I have been distracted many times, deleted all of my ruby files, and restored them. But to the point… Does anyone have a method for connecting to an AFP …

---

## [Does anyone have any small example code on how to use http-a](https://www.ruby-forum.com/t/does-anyone-have-any-small-example-code-on-how-to-use-http-a/108915)

<div class="topic-metadata">

**Author:** [@KpKpKp](https://www.ruby-forum.com/u/KpKpKp)\
**Replies:** 3\
**Last updated:** [July 10, 2007, 1:59pm UTC](https://www.ruby-forum.com/t/does-anyone-have-any-small-example-code-on-how-to-use-http-a/108915 "2007-07-10T13:59:23Z")

</div>

Hi, I’m trying to use the http-access2 gem to perform a basic set of login / get page operations on a website, from the point of view of checking site performance. Since documentation of this library seems to be extr…

---

## [Tidy](https://www.ruby-forum.com/t/tidy/108989)

<div class="topic-metadata">

**Author:** [@bagher](https://www.ruby-forum.com/u/bagher)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 12:01pm UTC](https://www.ruby-forum.com/t/tidy/108989 "2007-07-10T12:01:59Z")

</div>

how to do get tree parser from tidy in ruby

---

## [Showing CONSTANT warning with Ruby-MySql](https://www.ruby-forum.com/t/showing-constant-warning-with-ruby-mysql/108986)

<div class="topic-metadata">

**Author:** [@swanand\_deodhar](https://www.ruby-forum.com/u/swanand_deodhar)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 11:43am UTC](https://www.ruby-forum.com/t/showing-constant-warning-with-ruby-mysql/108986 "2007-07-10T11:43:05Z")

</div>

Hi! I am encountering some weird warnings related to constants while using ruby-mysql Here are some examples: c:/ruby/lib/ruby/1.8/mysql.rb:909: warning: already initialized constant ER\_MIXING\_NOT\_ALLOWED There ar…

---

## [ANN: Sequel 0.1.8 Released](https://www.ruby-forum.com/t/ann-sequel-0-1-8-released/108977)

<div class="topic-metadata">

**Author:** [@ciconia](https://www.ruby-forum.com/u/ciconia)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 7:34am UTC](https://www.ruby-forum.com/t/ann-sequel-0-1-8-released/108977 "2007-07-10T07:34:36Z")

</div>

Sequel version 0.1.8 has just been released. This release is focused on substantial refactoring of the Dataset class, mainly in order to simplify individual adapter implementations. Also included in this release are s…

---

## [Ruby-MySql error](https://www.ruby-forum.com/t/ruby-mysql-error/108910)

<div class="topic-metadata">

**Author:** [@swanand\_deodhar](https://www.ruby-forum.com/u/swanand_deodhar)\
**Replies:** 5\
**Last updated:** [July 10, 2007, 7:18am UTC](https://www.ruby-forum.com/t/ruby-mysql-error/108910 "2007-07-10T07:18:35Z")

</div>

Hi! I was doing some really really simple stuff with Ruby DBI… new\_conn = DBI.connect("DBI:Mysql:test:localhost", "root", “pwd”) new\_conn.tables.each do |table| new\_conn.columns(table).each do |columninfo| pri…

---

## [Dir.glob of mapped drive](https://www.ruby-forum.com/t/dir-glob-of-mapped-drive/108878)

<div class="topic-metadata">

**Author:** [@mikec](https://www.ruby-forum.com/u/mikec)\
**Replies:** 4\
**Last updated:** [July 10, 2007, 6:32am UTC](https://www.ruby-forum.com/t/dir-glob-of-mapped-drive/108878 "2007-07-10T06:32:33Z")

</div>

I’ve mapped a Z: drive on my PC from my mac, but whenever I try the following script from the command line, it works fine, but when I try to execute it within Eclipse with the Ruby Development Tools plugin installed, …

---

## [Bug in Kernel#method objects that call super?](https://www.ruby-forum.com/t/bug-in-kernel-method-objects-that-call-super/108932)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 4\
**Last updated:** [July 10, 2007, 3:05am UTC](https://www.ruby-forum.com/t/bug-in-kernel-method-objects-that-call-super/108932 "2007-07-10T03:05:15Z")

</div>

I posted this to ruby-core and got a somewhat mixed response. I’m curious what the rest of you might think of this behavior. -------- Original Message -------- Subject: Bug in Kernel#method objects that call super? D…

---

## [Creating XML from XSDs](https://www.ruby-forum.com/t/creating-xml-from-xsds/108959)

<div class="topic-metadata">

**Author:** [@probertm](https://www.ruby-forum.com/u/probertm)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 1:29am UTC](https://www.ruby-forum.com/t/creating-xml-from-xsds/108959 "2007-07-10T01:29:08Z")

</div>

Hi, all … I am wondering if someone has done similar and can point me in a direction. In this project, I need to generate test XML documents. And I have the XSDs for the XML. So I thought that it would be a simple …

---

## [\[SOLUTION\] Hangman (#130) -- Guesser Class](https://www.ruby-forum.com/t/solution-hangman-130-guesser-class/108958)

<div class="topic-metadata">

**Author:** [@rubyrubyruby\_onrail](https://www.ruby-forum.com/u/rubyrubyruby_onrail)\
**Replies:** 0\
**Last updated:** [July 10, 2007, 12:25am UTC](https://www.ruby-forum.com/t/solution-hangman-130-guesser-class/108958 "2007-07-10T00:25:03Z")

</div>

My “Guesser” class will guess the letter and the position based on the words that are “x” characters in length. It will suggest a particular letter in a particular position that has the highest frequency. It will fi…

---

## [Ruby: an original name for Visual Basic!](https://www.ruby-forum.com/t/ruby-an-original-name-for-visual-basic/108954)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [July 9, 2007, 10:51pm UTC](https://www.ruby-forum.com/t/ruby-an-original-name-for-visual-basic/108954 "2007-07-09T22:51:54Z")

</div>

Hello, stumbled upon this one while googling something else: Visual Basic - bought as Ruby from Alan Cooper in 1988 However, in March of 1988, I showed this prototype to Bill Gates , and he immediately saw its potent…

---

## [Ascii art generator](https://www.ruby-forum.com/t/ascii-art-generator/108948)

<div class="topic-metadata">

**Author:** [@hadley\_wickham](https://www.ruby-forum.com/u/hadley_wickham)\
**Replies:** 1\
**Last updated:** [July 9, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/ascii-art-generator/108948 "2007-07-09T21:37:45Z")

</div>

Dear all, Sorry if this is a little bit of topic, but I’m trying to recall an ASCII art generator I once saw (written with ruby, I think) - you could give it a body of text, and a set of letters, and it would arrange…

---

## [Network latency](https://www.ruby-forum.com/t/network-latency/108937)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 1\
**Last updated:** [July 9, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/network-latency/108937 "2007-07-09T20:54:38Z")

</div>

Hi @ all Can somebody explain me, how can I measure the latency of my network with a ruby app? Does in the internet exist any websites about network theme? thanks for your solution!

---

## [Announcing ruby-prof 0.5.0 (fast profiler for ruby)](https://www.ruby-forum.com/t/announcing-ruby-prof-0-5-0-fast-profiler-for-ruby/108945)

<div class="topic-metadata">

**Author:** [@charlieuk](https://www.ruby-forum.com/u/charlieuk)\
**Replies:** 0\
**Last updated:** [July 9, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/announcing-ruby-prof-0-5-0-fast-profiler-for-ruby/108945 "2007-07-09T20:52:38Z")

</div>

Hi everyone, A quick note to say that Ruby Prof 0.5.0 has been released. If you haven’t used it, ruby-prof is a fast profiler for Ruby. Version 0.5.0 is a major enhancement and has a lot of new functionality, includ…

---

## [Gstreamer](https://www.ruby-forum.com/t/gstreamer/108939)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 9, 2007, 7:50pm UTC](https://www.ruby-forum.com/t/gstreamer/108939 "2007-07-09T19:50:50Z")

</div>

Hi, does anyone knows something about the future of gstreamer? Some time ago it got removed from the ruby-gnome2 project. Then some people took it and made up a new project at https://trac.luon.net/ruby-gstreamer0.10/ …

---

## [Rubyforge SVN down?](https://www.ruby-forum.com/t/rubyforge-svn-down/108680)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 1\
**Last updated:** [July 9, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/rubyforge-svn-down/108680 "2007-07-09T18:55:28Z")

</div>

Is anyone else having trouble accessing the subversion repositories on Rubyforge? All was fine yesterday, but today I’m getting ‘svn: Connection closed unexpectedly’.

---

## [WebDAV: Connect Ruby to a WebDAV Server](https://www.ruby-forum.com/t/webdav-connect-ruby-to-a-webdav-server/108919)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 9\
**Last updated:** [July 9, 2007, 6:43pm UTC](https://www.ruby-forum.com/t/webdav-connect-ruby-to-a-webdav-server/108919 "2007-07-09T18:43:26Z")

</div>

Hello to all! Is there a possibility to connect ruby to a webDAV server? I have a webDAV server with some files which I want to use in ruby. Does anyone know how to do such a connection? I’ve read about RailsDAV, but…

---

## [Flatulent-0.0.3](https://www.ruby-forum.com/t/flatulent-0-0-3/108604)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 20\
**Last updated:** [July 9, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/flatulent-0-0-3/108604 "2007-07-09T16:42:13Z")

</div>

(the demo has been updated too) NAME flatulent : CAPTCHA for FIGLET. SYNOPSIS the flatulent gem provides brain dead simple to use, but internally cunning, ascii art (figlet) captcha for ruby. URI http://codeforpe…

---

## [South East Michigan Ruby Brigade Meeting](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/108921)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [July 9, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/108921 "2007-07-09T15:42:41Z")

</div>

Date: TODAY - Monday, 9 July 2007 Time: 7:00-8:30pm Location: 1670 CSE (http://cma.hurleyhome.com/SEMI%20Ruby%20Map.pdf) (if you are not familiar with campus don’t be intimidated, ask on the mailing list (http://list…

---

## [Bug in wsdl4r](https://www.ruby-forum.com/t/bug-in-wsdl4r/108914)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 3\
**Last updated:** [July 9, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/bug-in-wsdl4r/108914 "2007-07-09T15:34:38Z")

</div>

Mayby any of you happend to find solution - i generated classes with wsdl4r and got this exception, i’m investigating but it’s porbably to deep for me and solution might be simple (wrong wsdl perhaps) ==============…

---

## [Problem with SMTP mail program](https://www.ruby-forum.com/t/problem-with-smtp-mail-program/108907)

<div class="topic-metadata">

**Author:** [@dgirdhar](https://www.ruby-forum.com/u/dgirdhar)\
**Replies:** 3\
**Last updated:** [July 9, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/problem-with-smtp-mail-program/108907 "2007-07-09T13:31:54Z")

</div>

Hi, I took following very simple mail program from one of Ruby site, it is working fine on my system, but not on other system. The only difference which i Observed is that on other machine Microsoft Outlook is not in…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=1417)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=1419)
