# Ruby

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

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

---

## [Google Summer of Code -- Get Ready for the Proposal Window](https://www.ruby-forum.com/t/google-summer-of-code-get-ready-for-the-proposal-window/88756)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 25\
**Last updated:** [March 22, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/google-summer-of-code-get-ready-for-the-proposal-window/88756 "2007-03-22T20:20:16Z")

</div>

Google hasn’t announced their final selection yet for mentoring organizations, but I’m operating under the assumption that we will be. Given that, this is the time for people to start putting together proposals for st…

---

## [Ruby Reports Mailing List Split](https://www.ruby-forum.com/t/ruby-reports-mailing-list-split/89794)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/ruby-reports-mailing-list-split/89794 "2007-03-22T19:18:43Z")

</div>

Hi folks, if you’ve been following Ruby Reports in some way or another, you might have noticed that it’s been pretty quiet lately in terms of announcements / list activity. This is definitely not an indication of deve…

---

## [What Version of rail/ruby?](https://www.ruby-forum.com/t/what-version-of-rail-ruby/68913)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 9\
**Last updated:** [March 22, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/what-version-of-rail-ruby/68913 "2007-03-22T18:32:17Z")

</div>

Hello Forum, I would like to play and learn Rails with Ruby I heard of the so called Ruby on Rails. I recently purchased two ruby/rail books: Rails Recipes (Pragmatic Programmers) and Ruby for Rails: Ruby Techniques …

---

## [Pulling text from elements with REXML](https://www.ruby-forum.com/t/pulling-text-from-elements-with-rexml/89302)

<div class="topic-metadata">

**Author:** [@pozza](https://www.ruby-forum.com/u/pozza)\
**Replies:** 9\
**Last updated:** [March 22, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/pulling-text-from-elements-with-rexml/89302 "2007-03-22T18:12:31Z")

</div>

Hi I am using REXML to pull text from a NewsML document. require ‘rexml/document’ include REXML file = File.new(“Main\_News.xml”) doc = Document.new(file) root = doc.root puts root.elements\[“NewsItem/NewsComponent…

---

## [Help processing a file or array](https://www.ruby-forum.com/t/help-processing-a-file-or-array/89740)

<div class="topic-metadata">

**Author:** [@Eduardo\_YSSSSSSSSez](https://www.ruby-forum.com/u/Eduardo_YSSSSSSSSez)\
**Replies:** 5\
**Last updated:** [March 22, 2007, 5:30pm UTC](https://www.ruby-forum.com/t/help-processing-a-file-or-array/89740 "2007-03-22T17:30:01Z")

</div>

Hello, I’m a newbie, and need some help to process a file. The file has lines with something like this: rewrewrwer rrrrrrrrrrrrr aa1 rrrrrrrrrr rewrwerwer rrrrrrrrrrrrr bb1 rrrrrrrrrr rwerfwdffsd rrrrrrrrrrrrr cc1 rr…

---

## [E-mail library for Ruby?](https://www.ruby-forum.com/t/e-mail-library-for-ruby/89551)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 7\
**Last updated:** [March 22, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/e-mail-library-for-ruby/89551 "2007-03-22T17:18:59Z")

</div>

Okay, I’ll detail my problem and, hopefully, people can suggest a solution to me. I have an account on a Linux machine that I use as my e-mail address. I use Pine as my mail client. I have let my inbox accumulate e…

---

## [SVG::Graph::Plot](https://www.ruby-forum.com/t/svg-plot/89762)

<div class="topic-metadata">

**Author:** [@rwl4](https://www.ruby-forum.com/u/rwl4)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/svg-plot/89762 "2007-03-22T16:06:28Z")

</div>

I encountered a problem when using SVG::Graph. I have the following code that generate a simple plot: require ‘SVG/Graph/Plot’ This does not work. data= \[0.107,9, 0.128,1, 0.163,2, 0.188,4, 0.192,6, 0.5,5.5\] This wo…

---

## [Programmer readership last 18 hours](https://www.ruby-forum.com/t/programmer-readership-last-18-hours/89759)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/programmer-readership-last-18-hours/89759 "2007-03-22T15:40:23Z")

</div>

go ruby! Readership Numbers Last 18 hours, 3/22/07 9am est microsoft.public.dotnet.framework.aspnet 10460 web views last 18 hours comp.lang.python 10191 web views last 18 hours microsoft.public.dotnet.languages.c…

---

## [Scite and rubyw](https://www.ruby-forum.com/t/scite-and-rubyw/89639)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 22, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/scite-and-rubyw/89639 "2007-03-22T15:30:39Z")

</div>

Hi, I aiming to run a script within scite, but I am trying to hide the command shell. Is there anyway I can associate the rubyw interpreter with scite to achieve this on a windows platform? I have tried to change th…

---

## [eRuby questions](https://www.ruby-forum.com/t/eruby-questions/89553)

<div class="topic-metadata">

**Author:** [@Dude](https://www.ruby-forum.com/u/Dude)\
**Replies:** 5\
**Last updated:** [March 22, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/eruby-questions/89553 "2007-03-22T14:35:30Z")

</div>

Hi, I have been trying to find alternatives and faster way of serving server side HTML or WML from Ruby instead of serving it through an ERB program or through a RAILS program. This question is somewhat related to an…

---

## [How can i store the value in db(MySql)?](https://www.ruby-forum.com/t/how-can-i-store-the-value-in-db-mysql/89739)

<div class="topic-metadata">

**Author:** [@deepak](https://www.ruby-forum.com/u/deepak)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/how-can-i-store-the-value-in-db-mysql/89739 "2007-03-22T13:27:46Z")

</div>

Hello, I am new in Ruby. Can you tell me how can I store the value in databse(MySql). I have 2 Textbox one is User Name and another one is Password and 2 button i.e., Submit and Cancel. I want whenever I click on the…

---

## [Catching thread exceptions (Net::IMAP timeout)](https://www.ruby-forum.com/t/catching-thread-exceptions-net-imap-timeout/89635)

<div class="topic-metadata">

**Author:** [@anselm](https://www.ruby-forum.com/u/anselm)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 12:36pm UTC](https://www.ruby-forum.com/t/catching-thread-exceptions-net-imap-timeout/89635 "2007-03-22T12:36:16Z")

</div>

Hello :slight\_smile: I have a question : is it possible to catch exceptions that are raised on a thread by another thread ? Say if you have two threads, A and B and thread A does B.raise “bug” Is there a way for thr…

---

## [Win32/registry wtime](https://www.ruby-forum.com/t/win32-registry-wtime/89466)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 10\
**Last updated:** [March 22, 2007, 11:37am UTC](https://www.ruby-forum.com/t/win32-registry-wtime/89466 "2007-03-22T11:37:36Z")

</div>

MoonWolfe$B$G$9!#e(B win32/registry.rbe$B$Ne(Bwtimee$B$GICL$K~$,@Z$j\<N$F$i$l$F$?$N$Ge(B e$B%Q%C%A$r=q$$$F$\_$^$7$?!#e(B usece$B$G$b@:EYB-$j$J$$$N$Ge(Bwtimee$B"\*e(BTimee$B"\*e(Bwtimee$B$,$&$^$/$$$-$^$;$s$,e(B e$BICC10L$…

---

## [BUGS in metaclasses inheritance](https://www.ruby-forum.com/t/bugs-in-metaclasses-inheritance/89719)

<div class="topic-metadata">

**Author:** [@Chauk-Mean\_P](https://www.ruby-forum.com/u/Chauk-Mean_P)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 11:23am UTC](https://www.ruby-forum.com/t/bugs-in-metaclasses-inheritance/89719 "2007-03-22T11:23:34Z")

</div>

Hi all, It will probably not change the world but I’ve found 3 bugs regarding the inheritance between metaclasses both in Ruby 1.8.5 and 1.8.6. The inheritance should be as defined in the object.c source code (best …

---

## [$B%m!\<%I:Q$\_3HD%%i%$%V%i%j$NH=JL(B](https://www.ruby-forum.com/t/b-m-i-q-3hd-i-v-i-j-nh-jl-b/89557)

<div class="topic-metadata">

**Author:** [@arton](https://www.ruby-forum.com/u/arton)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 11:02am UTC](https://www.ruby-forum.com/t/b-m-i-q-3hd-i-v-i-j-nh-jl-b/89557 "2007-03-22T11:02:20Z")

</div>

artone$B$G$9!#e(B Exerbe$B$N%3%"$Ke(B1.8.6e$B$rMxMQ$7$h$&$H$7$F5$$E$$$?$N$G$9$,!"3HD%%i%$%V%i%j$,%m!\<e(B e$B%I:Q$$+$I$&$+!“e(BCe$B%W%m%0%i%\`$+$iH=CG$9$k$?$a$N4X?t$,e(B1.8.6e$B$G$O$J$/$J$C$F$$e(B e$B$k$h$&$K;W$$$^$9!JB\>…

---

## [ActiveRecord transient fields?](https://www.ruby-forum.com/t/activerecord-transient-fields/89660)

<div class="topic-metadata">

**Author:** [@PerfectDayToChaseTo](https://www.ruby-forum.com/u/PerfectDayToChaseTo)\
**Replies:** 2\
**Last updated:** [March 22, 2007, 9:15am UTC](https://www.ruby-forum.com/t/activerecord-transient-fields/89660 "2007-03-22T09:15:55Z")

</div>

Hi All, Is it possible to have transient fields in a class that extends ActiveRecord? If so how do I acheive it? Thanks :slight\_smile:

---

## [$! assignment does not work properly](https://www.ruby-forum.com/t/assignment-does-not-work-properly/89716)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 8:52am UTC](https://www.ruby-forum.com/t/assignment-does-not-work-properly/89716 "2007-03-22T08:52:47Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B \[ruby-core:10721\]e$B$Ne(B \[ ruby-Bugs-9451 \] Exception in Matrix inverse e$B$G$9$,!"D\>@$N860x$Oe(B$!e$B$rBeF~$7$F$b$=$l$,H?1G$5$l$J$$e(B(e$B$N$G!“e(B $@e$B$X$N%”%/%;%9$,%(%i!\<$K$J$ke…

---

## [Documentation on eRuby, eRuby resources](https://www.ruby-forum.com/t/documentation-on-eruby-eruby-resources/89710)

<div class="topic-metadata">

**Author:** [@Dude](https://www.ruby-forum.com/u/Dude)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 8:42am UTC](https://www.ruby-forum.com/t/documentation-on-eruby-eruby-resources/89710 "2007-03-22T08:42:46Z")

</div>

Can anyone let me know if there are any resources and documentation on eRuby available on the net ? Dude

---

## [Duck Typing on Wikipedia](https://www.ruby-forum.com/t/duck-typing-on-wikipedia/89703)

<div class="topic-metadata">

**Author:** [@Paddy3118](https://www.ruby-forum.com/u/Paddy3118)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 6:45am UTC](https://www.ruby-forum.com/t/duck-typing-on-wikipedia/89703 "2007-03-22T06:45:31Z")

</div>

Hi, Wikipedia has an entry on Duck Typing, that I intend too clean up. I am aware that Ruby does duck-typing admirably and would ask the interested to peruse Talk:Duck typing - Wikipedia and add to the discussion any…

---

## [More Summer of Code goodness (please forward)](https://www.ruby-forum.com/t/more-summer-of-code-goodness-please-forward/89630)

<div class="topic-metadata">

**Author:** [@Sylvain\_AbSSSSlard](https://www.ruby-forum.com/u/Sylvain_AbSSSSlard)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 6:04am UTC](https://www.ruby-forum.com/t/more-summer-of-code-goodness-please-forward/89630 "2007-03-22T06:04:28Z")

</div>

This may be long so I’ll write first things first : Can I apply ? Can RubyCentral be my mentor ? If so, should I rather take a real Ruby project instead of my own ? Do my project sound good ? I’ve posted that on the r…

---

## [Does Ruby not support multiple "initialize" methods for a cl](https://www.ruby-forum.com/t/does-ruby-not-support-multiple-initialize-methods-for-a-cl/89436)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 28\
**Last updated:** [March 22, 2007, 3:29am UTC](https://www.ruby-forum.com/t/does-ruby-not-support-multiple-initialize-methods-for-a-cl/89436 "2007-03-22T03:29:13Z")

</div>

Hi, Q1 - Does Ruby not support multiple “initialize” methods for a class? Q2 - If no is there a reason for this out of curiosity? Q3 - What approach is recommended if this constraint does exist? Cheers Greg

---

## [Help with Camellia](https://www.ruby-forum.com/t/help-with-camellia/89690)

<div class="topic-metadata">

**Author:** [@Guillaume\_Nargeot](https://www.ruby-forum.com/u/Guillaume_Nargeot)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 2:51am UTC](https://www.ruby-forum.com/t/help-with-camellia/89690 "2007-03-22T02:51:11Z")

</div>

Hello, I’ve tried to install the computer vision library Camellia for ruby, with the normal way, on linux, with the root account, but while I try to run the test files located into the /test/ directory, I always get…

---

## [Traverse windows registry](https://www.ruby-forum.com/t/traverse-windows-registry/89542)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 3\
**Last updated:** [March 22, 2007, 1:08am UTC](https://www.ruby-forum.com/t/traverse-windows-registry/89542 "2007-03-22T01:08:04Z")

</div>

Is there an example of traversing the window registry? I can’t seem to find any documentation on Win32::Registry. The ruby install came with some docs for Windows::Registry, but that seems to be a different animal… …

---

## [Mysterious logging message](https://www.ruby-forum.com/t/mysterious-logging-message/89682)

<div class="topic-metadata">

**Author:** [@jmay](https://www.ruby-forum.com/u/jmay)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 12:41am UTC](https://www.ruby-forum.com/t/mysterious-logging-message/89682 "2007-03-22T00:41:03Z")

</div>

For the last couple of days, the following message has started showing up on stdout at startup when I run script/console, or start mongrel in my development environment, or run a Rails unit test: – tables() -\> 0.0210…

---

## [Ruby\_incpush with unicode in embedded ruby app](https://www.ruby-forum.com/t/ruby-incpush-with-unicode-in-embedded-ruby-app/89643)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 22, 2007, 12:09am UTC](https://www.ruby-forum.com/t/ruby-incpush-with-unicode-in-embedded-ruby-app/89643 "2007-03-22T00:09:00Z")

</div>

I have an application that has embedded ruby. I want to call ruby\_incpush using a utf8 string to specify the path. How should I do this?

---

## [New Application Launcher Project (Linux)](https://www.ruby-forum.com/t/new-application-launcher-project-linux/89663)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 0\
**Last updated:** [March 22, 2007, 12:03am UTC](https://www.ruby-forum.com/t/new-application-launcher-project-linux/89663 "2007-03-22T00:03:42Z")

</div>

Just thought I’d post here to give a heads up to anyone who’s interested. I just started and made an initial release of a new open source application launcher for Gnome. It’s still very basic, but it works. I’m curre…

---

## [Getopt::Declare 1.23](https://www.ruby-forum.com/t/getopt-declare-1-23/89651)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 1\
**Last updated:** [March 21, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/getopt-declare-1-23/89651 "2007-03-21T23:50:58Z")

</div>

This is mainly a bug fix release. What’s Getopt::Declare? It is yet another command-line parser, that uses regular expressions in its engine. It is designed to be extremely easy to use, but very powerful. Example: …

---

## [Exiting in the middle of the program](https://www.ruby-forum.com/t/exiting-in-the-middle-of-the-program/89366)

<div class="topic-metadata">

**Author:** [@helgso](https://www.ruby-forum.com/u/helgso)\
**Replies:** 6\
**Last updated:** [March 21, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/exiting-in-the-middle-of-the-program/89366 "2007-03-21T22:04:40Z")

</div>

Good-Day to you all, programmers! There is a ruby calculator in the /ruby installation folder which has the ability of that when you just type ‘Exit’, the program exits. How can I add this feature to a program built b…

---

## [\[ANN\] Israel.rb is brought into existence!](https://www.ruby-forum.com/t/ann-israel-rb-is-brought-into-existence/89642)

<div class="topic-metadata">

**Author:** [@folke](https://www.ruby-forum.com/u/folke)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/ann-israel-rb-is-brought-into-existence/89642 "2007-03-21T21:59:40Z")

</div>

I am pleased to announce that the Israeli Ruby Brigade has been unleashed upon an unsuspecting world. We’re having our first meetup in two weeks. Further details about the meetup, and everything Ruby in Israel, can be …

---

## [Execution scope of Ruby artifacts running outside of an obje](https://www.ruby-forum.com/t/execution-scope-of-ruby-artifacts-running-outside-of-an-obje/89607)

<div class="topic-metadata">

**Author:** [@Griff](https://www.ruby-forum.com/u/Griff)\
**Replies:** 3\
**Last updated:** [March 21, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/execution-scope-of-ruby-artifacts-running-outside-of-an-obje/89607 "2007-03-21T21:57:40Z")

</div>

Hi folks, What is the scope of execution of a plain old Ruby script? For example, if you write a script that does not define any classes and you use reflection to get the current class, you discover that it is “Objec…

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

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