# Ruby

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

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

---

## [MatrixBenchmark updated](https://www.ruby-forum.com/t/matrixbenchmark-updated/89513)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/matrixbenchmark-updated/89513 "2007-03-20T23:24:11Z")

</div>

I’ve made a number of improvements to my Matrix benchmark over the past two days, and I think it’s ready for public consumption. First of all, I switched the repository from CVS to SVN, so to get it, you’ll need to do …

---

## [Defining my own class of unique objects](https://www.ruby-forum.com/t/defining-my-own-class-of-unique-objects/89476)

<div class="topic-metadata">

**Author:** [@jmay](https://www.ruby-forum.com/u/jmay)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/defining-my-own-class-of-unique-objects/89476 "2007-03-20T22:41:00Z")

</div>

Hi- I’m trying to define a class with semantics similar to Fixnum, where every object is unique. Each object has some internal state, more complex that a single numeric value. Also, I want this to work across marsh…

---

## [ActiveRecord, Oracle oci8 and LEFT OUTER JOIN](https://www.ruby-forum.com/t/activerecord-oracle-oci8-and-left-outer-join/89505)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 10:10pm UTC](https://www.ruby-forum.com/t/activerecord-oracle-oci8-and-left-outer-join/89505 "2007-03-20T22:10:50Z")

</div>

Hello, This is an ActiveRecord question / issue. I hope it’s OK to raise it here(\*) I’m using activerecord-1.15.2 as part of a Rails app. I started development using Sqlite3 as the backend for expediency (laptop pro…

---

## [Ruby client for a Java webservice](https://www.ruby-forum.com/t/ruby-client-for-a-java-webservice/89503)

<div class="topic-metadata">

**Author:** [@srikanth](https://www.ruby-forum.com/u/srikanth)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/ruby-client-for-a-java-webservice/89503 "2007-03-20T21:55:10Z")

</div>

Hi I am accessing a webservice ( written in Java ) . below is the code I have written, to access a login method that takes a String,String,ArrayofString as param. require ‘soap/wsdlDriver’ wsdl = ‘http://abc…

---

## [C(++) For Loop Equivalents](https://www.ruby-forum.com/t/c-for-loop-equivalents/89377)

<div class="topic-metadata">

**Author:** [@studlee2](https://www.ruby-forum.com/u/studlee2)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/c-for-loop-equivalents/89377 "2007-03-20T21:45:46Z")

</div>

What is the most efficient way in Ruby to create a conditional loop in Ruby that looks like this in C(++): for(int i=0; i\*j/2\<maxNum; i++) { //cool method stuff } I was looking at the .upto() method but it doesn’t …

---

## [Gets() makes my Ruby hang...?](https://www.ruby-forum.com/t/gets-makes-my-ruby-hang/89168)

<div class="topic-metadata">

**Author:** [@PythonUsr](https://www.ruby-forum.com/u/PythonUsr)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/gets-makes-my-ruby-hang/89168 "2007-03-20T21:17:41Z")

</div>

I’m using Ruby 1.8.5, with SciTE as my IDE. I’m not a beginner at Ruby, I’ve been using it for about a year and a half now. I just got a new computer, so I installed Ruby onto it. So I open up SciTE and type out a fa…

---

## [Ruby & OpenGL](https://www.ruby-forum.com/t/ruby-opengl/89458)

<div class="topic-metadata">

**Author:** [@visaolive](https://www.ruby-forum.com/u/visaolive)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/ruby-opengl/89458 "2007-03-20T21:10:39Z")

</div>

Hi, im want to start with Ruby (already started) + OpenGL (never used OGL with Ruby), if anyone can advice me how to start with this ill be very thankful. Documents to read. Books if exists. Links and any paper you th…

---

## [Pledgie drive for Rubinius](https://www.ruby-forum.com/t/pledgie-drive-for-rubinius/89493)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/pledgie-drive-for-rubinius/89493 "2007-03-20T20:55:35Z")

</div>

Just thought I’d get the word out: Rubinius (http://rubini.us) is having a Pledgie fund-raiser: http://pledgie.com/campaign/show/87 It’s a great cause. The ten-second pitch is that it’s a next- generation VM for Ruby…

---

## [11 more days (blogging contest)](https://www.ruby-forum.com/t/11-more-days-blogging-contest/89489)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/11-more-days-blogging-contest/89489 "2007-03-20T20:41:34Z")

</div>

Hmm, the one question that I thought would have drawn the most responses, and 20 days into the contest with nary a response. . . March’s blogging contest question is: What can Ruby on Rails learn from other web framew…

---

## [On\_event\_with\_outargs](https://www.ruby-forum.com/t/on-event-with-outargs/89398)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/on-event-with-outargs/89398 "2007-03-20T18:30:13Z")

</div>

Does anybody know of any good examples of how to use on\_event\_with\_outargs? The ruby doc is sparse to say the least.

---

## [Passing File Descriptors?](https://www.ruby-forum.com/t/passing-file-descriptors/89340)

<div class="topic-metadata">

**Author:** [@worky](https://www.ruby-forum.com/u/worky)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/passing-file-descriptors/89340 "2007-03-20T18:13:02Z")

</div>

Is there a ruby way to pass file descriptors to separate processes? I’m thinking of interfacing with a C program, which uses the SCM\_RIGHTS cmsg over a unix-domain socket … is this idiom implemented in Ruby? How woul…

---

## [Porttrigger ( pw protected )](https://www.ruby-forum.com/t/porttrigger-pw-protected/89459)

<div class="topic-metadata">

**Author:** [@Udo](https://www.ruby-forum.com/u/Udo)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/porttrigger-pw-protected/89459 "2007-03-20T17:00:53Z")

</div>

Hello! I want to control the starting of certain services on my Linux VPS with a home made porttrigger. If the right password is received the according programm for that port is started. ( I have my reasons to do it …

---

## [Ruby Developers Needed - Fantastic Opportunity - London](https://www.ruby-forum.com/t/ruby-developers-needed-fantastic-opportunity-london/89446)

<div class="topic-metadata">

**Author:** [@it\_recruiter](https://www.ruby-forum.com/u/it_recruiter)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/ruby-developers-needed-fantastic-opportunity-london/89446 "2007-03-20T16:01:32Z")

</div>

I am currently recruiting for a very good client of mine based in Central London. I am looking for Ruby Developers from all backgrounds and levels of experience (graduates and juniors to Seniors and Team Lead). Any e…

---

## [Portal-ruby](https://www.ruby-forum.com/t/portal-ruby/89449)

<div class="topic-metadata">

**Author:** [@Ray\_Capozzi](https://www.ruby-forum.com/u/Ray_Capozzi)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/portal-ruby/89449 "2007-03-20T15:51:16Z")

</div>

portal-ruby 0.0.1 is out. This is a C extension for Ruby that allows a Ruby program to talk to Oracle Communications Billing and Revenue Management (aka Portal’s Infranet). The core of this extension is the conversi…

---

## [Array to hash](https://www.ruby-forum.com/t/array-to-hash/89421)

<div class="topic-metadata">

**Author:** [@Servando\_G](https://www.ruby-forum.com/u/Servando_G)\
**Replies:** 8\
**Last updated:** [March 20, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/array-to-hash/89421 "2007-03-20T15:40:21Z")

</div>

Hello all Is there a method to collect the items in an array into a hash I want to go from this X =\[1,2,3,4,5,6\] to this Y={1 =\>2, 3 =\>4, 5 =\>6} Just seems like there should be one Thanks in advance Sam

---

## [DL.callback as free function causes errors](https://www.ruby-forum.com/t/dl-callback-as-free-function-causes-errors/89170)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 3:07pm UTC](https://www.ruby-forum.com/t/dl-callback-as-free-function-causes-errors/89170 "2007-03-20T15:07:48Z")

</div>

ã“ã‚“ã«ã¡ã¯ã€sheepman ã§ã™ã€‚ DL::PtrData ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã§ã¯ ruby ãŒ GC ã‚’ã™ã‚‹æ™‚ã«å‘¼ã¶ free function ã‚’æŒ‡å®šã™ã‚‹ã“ã¨ãŒã§ãã¾ã™ã€‚ ã§ã€ãŸã¨ãˆã° regex ãƒ©ã‚¤ãƒ–ãƒ©ãƒªã ã¨ regfree …

---

## [Sorting Dates and Times in an array](https://www.ruby-forum.com/t/sorting-dates-and-times-in-an-array/89339)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 19\
**Last updated:** [March 20, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/sorting-dates-and-times-in-an-array/89339 "2007-03-20T13:30:36Z")

</div>

Hi there. I am having a bit of trouble trying to solve a particular sorting problem with an array of data. Please bear with me for a moment regarding the setup of this problem. I don’t currently have any control over…

---

## [Ta-lib port for ruby in windows](https://www.ruby-forum.com/t/ta-lib-port-for-ruby-in-windows/89423)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 12:59pm UTC](https://www.ruby-forum.com/t/ta-lib-port-for-ruby-in-windows/89423 "2007-03-20T12:59:50Z")

</div>

I have built the ta-lib port for ruby . There was a perl/python port existing … but ruby one was missing. TA-LIB is a technical analysis library for financial market data. You can get the dll from me if you are intere…

---

## [SWIG typemap for ta-lib](https://www.ruby-forum.com/t/swig-typemap-for-ta-lib/88662)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 12:30pm UTC](https://www.ruby-forum.com/t/swig-typemap-for-ta-lib/88662 "2007-03-20T12:30:45Z")

</div>

I was trying to swig a function in ta-lib (TA-Lib provides common functions for the technical analysis of financial market data) http://ta-lib.org/index.html the c functuon api TA\_RetCode TA\_MA( int startIdx…

---

## [RHTML Code is not properly working in I.E](https://www.ruby-forum.com/t/rhtml-code-is-not-properly-working-in-i-e/89407)

<div class="topic-metadata">

**Author:** [@deepak](https://www.ruby-forum.com/u/deepak)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 7:56am UTC](https://www.ruby-forum.com/t/rhtml-code-is-not-properly-working-in-i-e/89407 "2007-03-20T07:56:48Z")

</div>

Hello, I have written the following code for designing the U.I. It is properly working in Mozilla Firefox but its not properly working in I.E. (Internet Explorer). Permission \<%= start\_form\_tag ({:action =\> ‘edit’},…

---

## [Ajax in ruby on rails](https://www.ruby-forum.com/t/ajax-in-ruby-on-rails/89406)

<div class="topic-metadata">

**Author:** [@saravanan](https://www.ruby-forum.com/u/saravanan)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 7:42am UTC](https://www.ruby-forum.com/t/ajax-in-ruby-on-rails/89406 "2007-03-20T07:42:00Z")

</div>

Hi, I have user model & a method to edit it. Using normal ruby with html, i did it. But, using ajax i want to submit the page. I know there is a tag "\<%=form\_remote\_tag %\> " But, already i’ve used "\<% form\_for :us…

---

## [Test::Unit::TestCase derived classes don't work when test me](https://www.ruby-forum.com/t/test-testcase-derived-classes-dont-work-when-test-me/89400)

<div class="topic-metadata">

**Author:** [@Derek\_Wong](https://www.ruby-forum.com/u/Derek_Wong)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 6:23am UTC](https://www.ruby-forum.com/t/test-testcase-derived-classes-dont-work-when-test-me/89400 "2007-03-20T06:23:55Z")

</div>

Hi, I’m new to the world of Ruby and still getting to grips with the language so please bear with me. The following script attempts to use the Test::Unit::TestCase framework in conjunction with dynamic test method ge…

---

## [How to get the name of the executing method?](https://www.ruby-forum.com/t/how-to-get-the-name-of-the-executing-method/89393)

<div class="topic-metadata">

**Author:** [@Griff](https://www.ruby-forum.com/u/Griff)\
**Replies:** 2\
**Last updated:** [March 20, 2007, 5:48am UTC](https://www.ruby-forum.com/t/how-to-get-the-name-of-the-executing-method/89393 "2007-03-20T05:48:52Z")

</div>

How do I use reflection to get the name of the executing method?

---

## [Const\_missing - why is it necessary to hook it at Module?](https://www.ruby-forum.com/t/const-missing-why-is-it-necessary-to-hook-it-at-module/89181)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 4:21am UTC](https://www.ruby-forum.com/t/const-missing-why-is-it-necessary-to-hook-it-at-module/89181 "2007-03-20T04:21:48Z")

</div>

Why doesn’t the following code work? class Foo def Foo.const\_missing(sym) p sym sym.to\_s end end Foo.new.instance\_eval { Bar } I thought the missing constant Bar would be caught by the const\_missing, since it’…

---

## [Gem questions/problems](https://www.ruby-forum.com/t/gem-questions-problems/89351)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 4\
**Last updated:** [March 20, 2007, 1:54am UTC](https://www.ruby-forum.com/t/gem-questions-problems/89351 "2007-03-20T01:54:32Z")

</div>

I installed gem on a few machines (identical machines). When I do gem list --remote on some of them, they dump a big list of packages. When I do the same command on one of them, it returns nothing: \[root@devbox1 1.8\]#…

---

## [Rawuw](https://www.ruby-forum.com/t/rawuw/89376)

<div class="topic-metadata">

**Author:** [@kentaromiura\_kentar](https://www.ruby-forum.com/u/kentaromiura_kentar)\
**Replies:** 1\
**Last updated:** [March 20, 2007, 1:52am UTC](https://www.ruby-forum.com/t/rawuw/89376 "2007-03-20T01:52:32Z")

</div>

Hello, I am new to this ML, so Yoroshiku onegai shimasu (please, be kind to me) ^\_^;; Sorry for my english but I’m Italian, so… I wrote an article and it would be great if someone could take a look at it… so here t…

---

## ["gem update --system" breaks under a non-standard prefix](https://www.ruby-forum.com/t/gem-update-system-breaks-under-a-non-standard-prefix/88968)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 5\
**Last updated:** [March 20, 2007, 1:45am UTC](https://www.ruby-forum.com/t/gem-update-system-breaks-under-a-non-standard-prefix/88968 "2007-03-20T01:45:31Z")

</div>

It appears that if you install rubygems under a non-standard prefix then “gem update --system” breaks. I have rubygems installed as a non-privileged user. Everything works fine with GEM\_HOME and RUBYLIB set properly …

---

## [Gems and require](https://www.ruby-forum.com/t/gems-and-require/88670)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 11\
**Last updated:** [March 20, 2007, 1:44am UTC](https://www.ruby-forum.com/t/gems-and-require/88670 "2007-03-20T01:44:31Z")

</div>

Finally gotten around to changing my ‘require\_gem’ code, and I’ve noticed that for many gems, the name of the file to “require” is not the same as the gem’s name. Furthermore, there’s no way to find out what file I do …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/89385)

<div class="topic-metadata">

**Author:** [@Ian\_Flanagan](https://www.ruby-forum.com/u/Ian_Flanagan)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 1:38am UTC](https://www.ruby-forum.com/t/unsubscribe/89385 "2007-03-20T01:38:31Z")

</div>

unsubscribe

---

## [Remove](https://www.ruby-forum.com/t/remove/89375)

<div class="topic-metadata">

**Author:** [@Ian\_Flanagan](https://www.ruby-forum.com/u/Ian_Flanagan)\
**Replies:** 0\
**Last updated:** [March 20, 2007, 1:34am UTC](https://www.ruby-forum.com/t/remove/89375 "2007-03-20T01:34:30Z")

</div>

remove fro mailing list

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

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