# Ruby

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

[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:** 1882

---

## [Executing an action of a component \_within\_ a component!](https://www.ruby-forum.com/t/executing-an-action-of-a-component-within-a-component/69146)

<div class="topic-metadata">

**Author:** [@Benjamin\_CabSSSS](https://www.ruby-forum.com/u/Benjamin_CabSSSS)\
**Replies:** 0\
**Last updated:** [February 16, 2006, 11:44am UTC](https://www.ruby-forum.com/t/executing-an-action-of-a-component-within-a-component/69146 "2006-02-16T11:44:17Z")

</div>

Hi everyone ! In order to design a custom autocomplete field component, i need to be able, in a view of my component, to execute an action of the controller of my component… I desperately can’t find how to do that… D…

---

## [ParseExcel 0.4.0 released](https://www.ruby-forum.com/t/parseexcel-0-4-0-released/53899)

<div class="topic-metadata">

**Author:** [@spreadsheet](https://www.ruby-forum.com/u/spreadsheet)\
**Replies:** 0\
**Last updated:** [February 16, 2006, 11:01am UTC](https://www.ruby-forum.com/t/parseexcel-0-4-0-released/53899 "2006-02-16T11:01:58Z")

</div>

Hello everyone ParseExcel has been taught how to handle various String-Encodings: ParseExcel::Cell#to\_s takes an optional argument and transparently converts its contents to this. Thanks to Xavier N. for his Bugrepo…

---

## [Irb on windows @{\[ etc](https://www.ruby-forum.com/t/irb-on-windows-etc/53848)

<div class="topic-metadata">

**Author:** [@mikkel](https://www.ruby-forum.com/u/mikkel)\
**Replies:** 6\
**Last updated:** [February 16, 2006, 9:40am UTC](https://www.ruby-forum.com/t/irb-on-windows-etc/53848 "2006-02-16T09:40:15Z")

</div>

Just to set set things straight (once more)… Im currently stuck at a win32 machine… unable to write @{\[ in irb… I know that there’s a solution, but several searches couldnt help me… Please obi-wan! Mikkel B. www.st…

---

## [HTTP client with zip compression for Ruby](https://www.ruby-forum.com/t/http-client-with-zip-compression-for-ruby/53836)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 16, 2006, 7:03am UTC](https://www.ruby-forum.com/t/http-client-with-zip-compression-for-ruby/53836 "2006-02-16T07:03:39Z")

</div>

Is there any client for Ruby capable of doing HTTP with gzip compression?

---

## [Rails - saving a 1 to many relationship in db](https://www.ruby-forum.com/t/rails-saving-a-1-to-many-relationship-in-db/69058)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [February 16, 2006, 6:51am UTC](https://www.ruby-forum.com/t/rails-saving-a-1-to-many-relationship-in-db/69058 "2006-02-16T06:51:31Z")

</div>

I am trying to save a 1 to many relationship using rails. My parent record (Event) is saved fine, but the child records (Schedules) do not get inserted into the db. Can someone please tell me what I’m doing wrong? …

---

## [Re: rdoc windows issues](https://www.ruby-forum.com/t/re-rdoc-windows-issues/53886)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [February 16, 2006, 2:52am UTC](https://www.ruby-forum.com/t/re-rdoc-windows-issues/53886 "2006-02-16T02:52:50Z")

</div>

require ‘rdoc/parsers/parse\_rb.rb’ Hm, that .rb can be removed. But I digress. Do you mean the whole file, or just the extension, $ ls /c/ruby/build/ruby/lib/rdoc/parsers/parse\* Just the extension. Generatin…

---

## [Ruby-lang emails getting blocked](https://www.ruby-forum.com/t/ruby-lang-emails-getting-blocked/53812)

<div class="topic-metadata">

**Author:** [@Caleb\_T](https://www.ruby-forum.com/u/Caleb_T)\
**Replies:** 6\
**Last updated:** [February 16, 2006, 2:40am UTC](https://www.ruby-forum.com/t/ruby-lang-emails-getting-blocked/53812 "2006-02-16T02:40:45Z")

</div>

It seems that beryllium.ruby-lang.org has found itself on spamcop’s blocking list (which explains why I haven’t gotten any mails in about 15 hours): Caleb

---

## [Why does this freeze not work?](https://www.ruby-forum.com/t/why-does-this-freeze-not-work/53890)

<div class="topic-metadata">

**Author:** [@konsu](https://www.ruby-forum.com/u/konsu)\
**Replies:** 5\
**Last updated:** [February 16, 2006, 2:40am UTC](https://www.ruby-forum.com/t/why-does-this-freeze-not-work/53890 "2006-02-16T02:40:44Z")

</div>

hello, i need to set an instance variable in my object once and make sure this variable is not changed afterwards. i tried the code below which i expected to fail with a TypeError but it happily outputs ‘2’. i kind o…

---

## [Re: rdoc windows issues](https://www.ruby-forum.com/t/re-rdoc-windows-issues/68980)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [February 16, 2006, 12:42am UTC](https://www.ruby-forum.com/t/re-rdoc-windows-issues/68980 "2006-02-16T00:42:44Z")

</div>

ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz \*Here is line 8 of c:/ruby/build/ruby/lib/rdoc/rdoc.rb require ‘rdoc/parsers/parse\_rb.rb’ Hm, that .rb can be removed. But I digress. \*Here is line 16 o…

---

## [Blob coloring (or LABEL\_REGION in IDL)](https://www.ruby-forum.com/t/blob-coloring-or-label-region-in-idl/53877)

<div class="topic-metadata">

**Author:** [@TrentDavey](https://www.ruby-forum.com/u/TrentDavey)\
**Replies:** 1\
**Last updated:** [February 15, 2006, 11:48pm UTC](https://www.ruby-forum.com/t/blob-coloring-or-label-region-in-idl/53877 "2006-02-15T23:48:25Z")

</div>

I thought I’d see if anyone has any canned functions/methods or “good ideas” before I wrote code to do this. Given a 2D bilevel (zero’s and non-zero values) array (image), a mask of the same size is returned where eac…

---

## [Re: Deleting objects?](https://www.ruby-forum.com/t/re-deleting-objects/68946)

<div class="topic-metadata">

**Author:** [@PaatschS\_Bernd](https://www.ruby-forum.com/u/PaatschS_Bernd)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 11:48pm UTC](https://www.ruby-forum.com/t/re-deleting-objects/68946 "2006-02-15T23:48:24Z")

</div>

My mistake: I set an variable to nil outside the loop and then the second time around it was not nil and therefore not populating the hash as I expected. -Bernd

---

## [Class/method definitions, transactions and undo](https://www.ruby-forum.com/t/class-method-definitions-transactions-and-undo/68945)

<div class="topic-metadata">

**Author:** [@Marcin\_MielSSS\_ySSS](https://www.ruby-forum.com/u/Marcin_MielSSS_ySSS)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/class-method-definitions-transactions-and-undo/68945 "2006-02-15T23:39:20Z")

</div>

Hi I wonder what would be the easiest way to create transactional/undoable modifications to Ruby’s method, classes, hierarchies… I started with class C def C.method\_added m p C.instance\_methods(false) end end p …

---

## [Deleting objects?](https://www.ruby-forum.com/t/deleting-objects/68844)

<div class="topic-metadata">

**Author:** [@PaatschS\_Bernd](https://www.ruby-forum.com/u/PaatschS_Bernd)\
**Replies:** 1\
**Last updated:** [February 15, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/deleting-objects/68844 "2006-02-15T23:18:00Z")

</div>

Hello, My little program works one. However fails when I add a loop two run it multiple times with different input data. I believe this might be due to objects that have not been delete. Is there a way to delete obj…

---

## [How to run a Ruby file without installing Ruby?](https://www.ruby-forum.com/t/how-to-run-a-ruby-file-without-installing-ruby/53782)

<div class="topic-metadata">

**Author:** [@rubyist](https://www.ruby-forum.com/u/rubyist)\
**Replies:** 16\
**Last updated:** [February 15, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/how-to-run-a-ruby-file-without-installing-ruby/53782 "2006-02-15T23:08:34Z")

</div>

Let’s suppose that I wrote a Ruby program which is incredibly interesting, amazing, shocking and of course I want to let a friend of mine see this wonderful program ;-D But my friend is a so bad and ugly man that he d…

---

## [Gem/rdoc/ri errors on mingw](https://www.ruby-forum.com/t/gem-rdoc-ri-errors-on-mingw/53846)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 7\
**Last updated:** [February 15, 2006, 10:56pm UTC](https://www.ruby-forum.com/t/gem-rdoc-ri-errors-on-mingw/53846 "2006-02-15T22:56:17Z")

</div>

Hello, yesterday I switched from the very good, perfectly functional one-click installer to a build-it-yourself-ruby-compile on winXP with the mingw environment. All went very smoothly. Great documents on setting up…

---

## [Segmentation faults in Ruby-Wordnet](https://www.ruby-forum.com/t/segmentation-faults-in-ruby-wordnet/68937)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/segmentation-faults-in-ruby-wordnet/68937 "2006-02-15T22:53:13Z")

</div>

Dear all, when installing Ruby-Wordnet 0.0.2, both under Cygwin and under Linux Fedora, I keep getting Segmentation faults in Ruby 1.8.4 when creating the database for nouns. Does anybody know how to circumvent tha…

---

## [Rdoc windows issues](https://www.ruby-forum.com/t/rdoc-windows-issues/68893)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 10:44pm UTC](https://www.ruby-forum.com/t/rdoc-windows-issues/68893 "2006-02-15T22:44:07Z")

</div>

Here is a more detailed description of what is wrong with rdoc I’m trying to build ruby from source using the stable-snapshot from here: ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz Building on a winXP box…

---

## [Ruby module for canonicalizing xml (c14n)?](https://www.ruby-forum.com/t/ruby-module-for-canonicalizing-xml-c14n/68888)

<div class="topic-metadata">

**Author:** [@peterkemp](https://www.ruby-forum.com/u/peterkemp)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/ruby-module-for-canonicalizing-xml-c14n/68888 "2006-02-15T22:16:42Z")

</div>

Hi! Is there anyone who knows of a Ruby module that can create canonicalized versions of XML? I am looking for something similar to c14n in PyXml. Regards, Peter K.

---

## [Re: Deleting objects?](https://www.ruby-forum.com/t/re-deleting-objects/68887)

<div class="topic-metadata">

**Author:** [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/re-deleting-objects/68887 "2006-02-15T22:10:35Z")

</div>

If you keep a reference to an object – no way you can dispose it. On the other hand, even when there’s no references, Ruby will dispose an object on its own will (and need). You can try calling GC.start, however it is…

---

## [Running a script from a rake task?](https://www.ruby-forum.com/t/running-a-script-from-a-rake-task/68800)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 2\
**Last updated:** [February 15, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/running-a-script-from-a-rake-task/68800 "2006-02-15T21:28:21Z")

</div>

Hi everyone, I have 2 scripts (dbload.rb and import\_people.rb) that I want to include in a rake task. How can I run an external script in a rake task? Do I have to shell out to do it? Or should I just make those s…

---

## [Telephone Authentication](https://www.ruby-forum.com/t/telephone-authentication/68842)

<div class="topic-metadata">

**Author:** [@Mohit\_Muthanna](https://www.ruby-forum.com/u/Mohit_Muthanna)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 9:19pm UTC](https://www.ruby-forum.com/t/telephone-authentication/68842 "2006-02-15T21:19:17Z")

</div>

Hi, If anyone is interested I’ve just revamped my telephone authentication system (www.teleauth.com). It’s completely rewritten in Ruby (and Rails for the UI). I would greatly appreciate it if some gurus from this lis…

---

## [IO::Select and error\_array](https://www.ruby-forum.com/t/io-select-and-error-array/53873)

<div class="topic-metadata">

**Author:** [@Christoffer\_LernSSS](https://www.ruby-forum.com/u/Christoffer_LernSSS)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 8:03pm UTC](https://www.ruby-forum.com/t/io-select-and-error-array/53873 "2006-02-15T20:03:15Z")

</div>

Hello everyone, IO::Select works very well for me, but it still holds some mysteries for me. In particular: when will I get it to return due to an error? More to the point, let’s say I have: read, write, error = IO::…

---

## [Make failing while compiling ruby-1.8.4 on AIX 4.3.3](https://www.ruby-forum.com/t/make-failing-while-compiling-ruby-1-8-4-on-aix-4-3-3/53872)

<div class="topic-metadata">

**Author:** [@pbhakre](https://www.ruby-forum.com/u/pbhakre)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/make-failing-while-compiling-ruby-1-8-4-on-aix-4-3-3/53872 "2006-02-15T19:34:14Z")

</div>

HI, I am getting getting errors and compilation faile when I do “make” on AIX 4.3.3 while compiling Ruby 1.8.4 Did anybody got this error and what needs to be done for this problem. Listing the output generated by “…

---

## [Comp.lang.ruby FAQ](https://www.ruby-forum.com/t/comp-lang-ruby-faq/68748)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/comp-lang-ruby-faq/68748 "2006-02-15T19:32:37Z")

</div>

RUBY NEWSGROUP FAQ – Welcome to comp.lang.ruby! (Revised 2005-4-14) This FAQ contains information for those who want to: learn more about Ruby, and want to post to comp.lang.ruby or to the ruby-lang mail list, or wan…

---

## [Ruby 1.8.4 behaviour - 2 questions](https://www.ruby-forum.com/t/ruby-1-8-4-behaviour-2-questions/53561)

<div class="topic-metadata">

**Author:** [@James\_BSByrne](https://www.ruby-forum.com/u/James_BSByrne)\
**Replies:** 10\
**Last updated:** [February 15, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-behaviour-2-questions/53561 "2006-02-15T17:45:55Z")

</div>

OS = CentOS 4.2 Ruby = 1.8.4 (http://dev.centos.org/centos/4.2/testing/i386/RPMS/ruby-1.8.4-1.c4.i386.rpm) Problem 1. I am using Regexp.new() and my unit test alters behaviour for the same regexp string depending up…

---

## [Installing a ruby application and data into /opt/\<myapp\>](https://www.ruby-forum.com/t/installing-a-ruby-application-and-data-into-opt-myapp/68664)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 1\
**Last updated:** [February 15, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/installing-a-ruby-application-and-data-into-opt-myapp/68664 "2006-02-15T17:31:10Z")

</div>

And lo, the client came from afar and said, “Thou shalt make me a web application,” and mod\_ruby and PageTemplate came to my rescue. And lo, he then said, “Thou shalt interface it with mysql,” and ruby-mysql did stepp…

---

## [Questions about -K and /u](https://www.ruby-forum.com/t/questions-about-k-and-u/68661)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/questions-about-k-and-u/68661 "2006-02-15T16:45:22Z")

</div>

I don’t understand what -K and /u mean. The pickaxe says -K “specifies the code set to be used”, but to be used for what? Specifies the code set of the source code? It affects to the internal representation of strings…

---

## [Weft QDA 1.0.0 released](https://www.ruby-forum.com/t/weft-qda-1-0-0-released/53863)

<div class="topic-metadata">

**Author:** [@absolute-beginner](https://www.ruby-forum.com/u/absolute-beginner)\
**Replies:** 0\
**Last updated:** [February 15, 2006, 3:50pm UTC](https://www.ruby-forum.com/t/weft-qda-1-0-0-released/53863 "2006-02-15T15:50:26Z")

</div>

Hello everyone I’m delighted to announce that Weft QDA version 1.0 is now available for download from Weft QDA - a free, open-source tool for qualitative data analysis Weft QDA is a free, open-source tool for analysis…

---

## [Tree structures](https://www.ruby-forum.com/t/tree-structures/66371)

<div class="topic-metadata">

**Author:** [@frank](https://www.ruby-forum.com/u/frank)\
**Replies:** 14\
**Last updated:** [February 15, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/tree-structures/66371 "2006-02-15T15:19:24Z")

</div>

Hi, I have been using ruby for a few months now and am writing a program that duplicates portions of a tree structure. For example, take the following tree: ((A,B),C) Where ( represents a node, each letter represent…

---

## [Question about http-access2](https://www.ruby-forum.com/t/question-about-http-access2/53852)

<div class="topic-metadata">

**Author:** [@Yin\_Chaoyi](https://www.ruby-forum.com/u/Yin_Chaoyi)\
**Replies:** 1\
**Last updated:** [February 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/question-about-http-access2/53852 "2006-02-15T14:18:53Z")

</div>

Hello, I am a ruby newbie. When I use the attached script, the file downloaded over a slow link is always incomplete. I can successfully download a much larger file over a fast link. I use ethereal to capture the com…

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

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