# Ruby

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

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

---

## [Another milestone for Ruby!](https://www.ruby-forum.com/t/another-milestone-for-ruby/51755)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 4\
**Last updated:** [January 11, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/another-milestone-for-ruby/51755 "2006-01-11T19:30:36Z")

</div>

From the Jifty home page, URL:http://jifty.org/view/HomePage: Jifty is written in Perl. If you're familiar with Ruby, Perl might feel like Ruby's quirky big brother. You know you’ve arrived when people try to describe …

---

## [Ruby-odbc -- Strange Chaning of Special Character in Result](https://www.ruby-forum.com/t/ruby-odbc-strange-chaning-of-special-character-in-result/51946)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/ruby-odbc-strange-chaning-of-special-character-in-result/51946 "2006-01-11T19:21:28Z")

</div>

Hi, Some strange behind-the-scenes character conversion appears to be occuring when fetching ASCII code 150 using ruby-odbc. This is exempilfied by the script below. It should return identical data for both selects. …

---

## [@@@@help......wanted........new to ruby........@@@@@](https://www.ruby-forum.com/t/help-wanted-new-to-ruby/89380)

<div class="topic-metadata">

**Author:** [@beginner](https://www.ruby-forum.com/u/beginner)\
**Replies:** 10\
**Last updated:** [January 11, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/help-wanted-new-to-ruby/89380 "2006-01-11T19:12:16Z")

</div>

Beginner Jan 3, 4:43 pm show options Newsgroups: comp.lang.ruby From: “Beginner” removed\_email\_address@domain.invalid - Find messages by this author Date: 3 Jan 2006 13:43:15 -0800 Local: Tues, Jan 3 2006 4:43 pm …

---

## [Use of "return"](https://www.ruby-forum.com/t/use-of-return/51944)

<div class="topic-metadata">

**Author:** [@SBSBSB](https://www.ruby-forum.com/u/SBSBSB)\
**Replies:** 9\
**Last updated:** [January 11, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/use-of-return/51944 "2006-01-11T18:38:48Z")

</div>

This is a total newbie question, but I’d like to know how “return” is specifically used in ruby. From my understanding, it can be avoided in a lot of cases since ruby returns the last value by default. However, some…

---

## [Rdoc/usage usage\_no\_exit error](https://www.ruby-forum.com/t/rdoc-usage-usage-no-exit-error/52015)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/rdoc-usage-usage-no-exit-error/52015 "2006-01-11T18:35:44Z")

</div>

I’m trying to integrate rdoc/usage.rb into my ruby script for the usage paramaters, however it doesn’t seem to work. when I call RDoc::usage I get this… /usr/local/lib/ruby/1.8/rdoc/usage.rb:105:in usage\_no\_exit': pri…

---

## [User groups in central England?](https://www.ruby-forum.com/t/user-groups-in-central-england/87983)

<div class="topic-metadata">

**Author:** [@ross\_b](https://www.ruby-forum.com/u/ross_b)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/user-groups-in-central-england/87983 "2006-01-11T17:45:29Z")

</div>

Hi, Just wondering if anyone knows of any Ruby user group or similar in central England (specifically the East Midlands, Nottingham area)?

---

## [Thread scheduling](https://www.ruby-forum.com/t/thread-scheduling/52104)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 5\
**Last updated:** [January 11, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/thread-scheduling/52104 "2006-01-11T17:30:05Z")

</div>

I’ve search for documentation about whether Ruby thread scheduling uses FIFO or round-robin and can’t find anything. It seems to be round-robin. Is that correct? Is there a way to control the time slice used for each …

---

## [Re: Smoking out C extension mistakes](https://www.ruby-forum.com/t/re-smoking-out-c-extension-mistakes/52164)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/re-smoking-out-c-extension-mistakes/52164 "2006-01-11T17:24:00Z")

</div>

P\> You could use: P\> if(foo == Qnil) P\> instead of using the NIL\_P macro. #define NIL\_P(v) ((VALUE)(v) == Qnil) :slight\_smile: Guy Decoux So, is there a way to catch my mistake or not Guy? Dan

---

## [Rubygem, rdoc, ri,](https://www.ruby-forum.com/t/rubygem-rdoc-ri/52144)

<div class="topic-metadata">

**Author:** [@Pierre\_Barbier\_de\_R](https://www.ruby-forum.com/u/Pierre_Barbier_de_R)\
**Replies:** 6\
**Last updated:** [January 11, 2006, 5:21pm UTC](https://www.ruby-forum.com/t/rubygem-rdoc-ri/52144 "2006-01-11T17:21:00Z")

</div>

Hi ! I cannot successfully generate any documentation with rubygem ! I tried (with RubyInline) : $ gem install RubyInline --doc $ gem rdoc RubyInline $ gem rdoc --all … but none of these generates the doc ! Howeve…

---

## [Re: About Tcl/Tk](https://www.ruby-forum.com/t/re-about-tcl-tk/94904)

<div class="topic-metadata">

**Author:** [@piet](https://www.ruby-forum.com/u/piet)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/re-about-tcl-tk/94904 "2006-01-11T17:07:36Z")

</div>

\-----Original Message----- From: tony summerfelt \[mailto:removed\_email\_address@domain.invalid\] just out of curiosity did you try fxruby with rubyscript2exe? after playing around with gtk a bit, the only hanging point …

---

## [On parallel assignment](https://www.ruby-forum.com/t/on-parallel-assignment/52154)

<div class="topic-metadata">

**Author:** [@christer](https://www.ruby-forum.com/u/christer)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/on-parallel-assignment/52154 "2006-01-11T16:37:16Z")

</div>

The parallel assignment syntax \[a,b\] = \[c,d\] is not allowed I have to write a, b = \[c,d\] Going deeper \[a, \[b, c\]\] = \[1, \[2, 3\]\] is not allowed I have to write a, (b, c) = \[1, \[2, 3\]\] I’m sure there is a good …

---

## [Support for Unicode strings](https://www.ruby-forum.com/t/support-for-unicode-strings/60962)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/support-for-unicode-strings/60962 "2006-01-11T16:06:45Z")

</div>

I am rather new to ruby but was considering to use it for my next project. However, support for Unicode strings would be essential. This includes the correct handling of unicode strings in regular expressions, in IO o…

---

## [Testing Gems](https://www.ruby-forum.com/t/testing-gems/95013)

<div class="topic-metadata">

**Author:** [@Caleb\_T](https://www.ruby-forum.com/u/Caleb_T)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 3:23pm UTC](https://www.ruby-forum.com/t/testing-gems/95013 "2006-01-11T15:23:40Z")

</div>

According to http://docs.rubygems.org/read/chapter/20#test\_files, the test\_files section of the gemspec file lists test files that are loaded “when the user requests a gem to be unit tested”. Is there a gem command t…

---

## [Rubyholic.com improvements and a request](https://www.ruby-forum.com/t/rubyholic-com-improvements-and-a-request/52146)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 3:20pm UTC](https://www.ruby-forum.com/t/rubyholic-com-improvements-and-a-request/52146 "2006-01-11T15:20:23Z")

</div>

I just did some cleanup on rubyholic.com: I’ve improved HTML compliance and IE rendering. Made some things purtier. And most important: The main page now filters a lot of incomplete groups. This last one means the …

---

## [Mauricio Fernandez Please Email Me](https://www.ruby-forum.com/t/mauricio-fernandez-please-email-me/52084)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 2:40pm UTC](https://www.ruby-forum.com/t/mauricio-fernandez-please-email-me/52084 "2006-01-11T14:40:08Z")

</div>

Sorry to spam this list, but all my attempts to reach Mauricio Fernandez by email have failed. If you see this, could you please send a message I could respond to: removed\_email\_address@domain.invalid It is a Ruby r…

---

## [Rails: webrick & lighttp/fcgi threading model](https://www.ruby-forum.com/t/rails-webrick-lighttp-fcgi-threading-model/52106)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [January 11, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/rails-webrick-lighttp-fcgi-threading-model/52106 "2006-01-11T14:27:58Z")

</div>

I am using rails 1.0.0 on os x, and I can’t help but notice that whenever I post a new request to my rails appsvr (webrick or lighttpd/fcgi), it looks like my ~/.irbrc is reexecuted (I noticed that bcoz I defined a co…

---

## [Dialog that pops up when window busy](https://www.ruby-forum.com/t/dialog-that-pops-up-when-window-busy/52119)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 2\
**Last updated:** [January 11, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/dialog-that-pops-up-when-window-busy/52119 "2006-01-11T14:18:30Z")

</div>

Hi, In my window, I sometimes want to prevent the user from doing anything while an action is occuring. So I want to disable the window (using Gtk::Widget#sensitive). But I also want to popup a little dialog saying …

---

## [Activerecord, postgres and views?](https://www.ruby-forum.com/t/activerecord-postgres-and-views/60961)

<div class="topic-metadata">

**Author:** [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 12:50pm UTC](https://www.ruby-forum.com/t/activerecord-postgres-and-views/60961 "2006-01-11T12:50:23Z")

</div>

hi there is it possible to use a postgres view in AR? this code is being executed by AR to find a relation SELECT a.attname, format\_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg\_attribute …

---

## [Included module and scope confusion](https://www.ruby-forum.com/t/included-module-and-scope-confusion/52085)

<div class="topic-metadata">

**Author:** [@hmmm](https://www.ruby-forum.com/u/hmmm)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 10:55am UTC](https://www.ruby-forum.com/t/included-module-and-scope-confusion/52085 "2006-01-11T10:55:34Z")

</div>

I am confused about modules and scope. Here is a module: module Crumbs MAX\_CRUMBS = 10 def self.included(mod) def cookies return @cookies == nil ? Hash.new : @cookies end end def crumb\_new( controller, action, p…

---

## [Problem with runing dbtalk on windows](https://www.ruby-forum.com/t/problem-with-runing-dbtalk-on-windows/60938)

<div class="topic-metadata">

**Author:** [@mohsena](https://www.ruby-forum.com/u/mohsena)\
**Replies:** 0\
**Last updated:** [January 11, 2006, 10:13am UTC](https://www.ruby-forum.com/t/problem-with-runing-dbtalk-on-windows/60938 "2006-01-11T10:13:59Z")

</div>

Hello I downloaded the dbtalk073 files from http://www.insula.cz/dbtalk/ . I make the database and tables form tpybase.sql script too ,I want to run the files in windows 2000 As the tutorial tells â? At the moment t…

---

## [Opposite of Thread.wakeup](https://www.ruby-forum.com/t/opposite-of-thread-wakeup/60747)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 5\
**Last updated:** [January 11, 2006, 9:00am UTC](https://www.ruby-forum.com/t/opposite-of-thread-wakeup/60747 "2006-01-11T09:00:52Z")

</div>

If I create a thread and don’t want it to be eligible to run until I decide to make it eligible later, how do I make it sleep? In other words, what’s the opposite of Thread.wakeup? Thread::stop stops the execution of …

---

## [Is there a quick way to compare two arrays and](https://www.ruby-forum.com/t/is-there-a-quick-way-to-compare-two-arrays-and/60616)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [January 11, 2006, 6:47am UTC](https://www.ruby-forum.com/t/is-there-a-quick-way-to-compare-two-arrays-and/60616 "2006-01-11T06:47:10Z")

</div>

I have two arrays of different sizes. Right now via find\_all I can find all the elements that are common to both arrays. All the elements in the smaller arrays can be found in the larger array. What I would like to …

---

## [Re: AJAX pains](https://www.ruby-forum.com/t/re-ajax-pains/94919)

<div class="topic-metadata">

**Author:** [@sgware](https://www.ruby-forum.com/u/sgware)\
**Replies:** 12\
**Last updated:** [January 11, 2006, 6:31am UTC](https://www.ruby-forum.com/t/re-ajax-pains/94919 "2006-01-11T06:31:20Z")

</div>

Hi David, Are you sure you’re in the right group? The reason I ask is because you mention lots of things that aren’t ruby. AJAX, J2EE, etc… If it’s Ruby on Rails you’re looking for, please try the Rails mailing lis…

---

## [XEmacs Indentation Broken?](https://www.ruby-forum.com/t/xemacs-indentation-broken/52026)

<div class="topic-metadata">

**Author:** [@alexg](https://www.ruby-forum.com/u/alexg)\
**Replies:** 4\
**Last updated:** [January 11, 2006, 6:19am UTC](https://www.ruby-forum.com/t/xemacs-indentation-broken/52026 "2006-01-11T06:19:18Z")

</div>

Hi, Just started working with a new Ubuntu box and something wierd is going on with XEmacs ruby support. The automatic indentation (hitting tab on the line I want indented or selecting by region) works right up till I …

---

## [Snakes and Rubies Video and Audio Online!](https://www.ruby-forum.com/t/snakes-and-rubies-video-and-audio-online/56247)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 9\
**Last updated:** [January 11, 2006, 6:16am UTC](https://www.ruby-forum.com/t/snakes-and-rubies-video-and-audio-online/56247 "2006-01-11T06:16:17Z")

</div>

It is my pleasure to announce that the video and audio from the Snakes and Rubies event is now Online. So if you missed the event the first time, or if you would like to review what was said, head on over to the Snake…

---

## [String command](https://www.ruby-forum.com/t/string-command/94986)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 6:04am UTC](https://www.ruby-forum.com/t/string-command/94986 "2006-01-11T06:04:10Z")

</div>

Hello, Is there a way to make ruby interpret a string as a set of command? for example action=“p this is test one” action.command action=“for i in 1…4 p this is test two end” action.command and have the out put …

---

## [St. Louis Ruby Users Group -- Jan. 24th](https://www.ruby-forum.com/t/st-louis-ruby-users-group-jan-24th/52126)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [January 11, 2006, 5:46am UTC](https://www.ruby-forum.com/t/st-louis-ruby-users-group-jan-24th/52126 "2006-01-11T05:46:01Z")

</div>

For those of you who are in the St. Louis, Missouri (USA) area, we have a Ruby U. Group tha meets on te 4th Thursday of each month. you can find directions and more information here: http://stlruby.org/ Curt

---

## [How to execute ruby file from other ruby file?](https://www.ruby-forum.com/t/how-to-execute-ruby-file-from-other-ruby-file/52067)

<div class="topic-metadata">

**Author:** [@szczepiq](https://www.ruby-forum.com/u/szczepiq)\
**Replies:** 4\
**Last updated:** [January 11, 2006, 5:36am UTC](https://www.ruby-forum.com/t/how-to-execute-ruby-file-from-other-ruby-file/52067 "2006-01-11T05:36:55Z")

</div>

How to execute ruby file from other ruby file? Thanks!

---

## [Make test-all with 1.8.4 on os x gives me 1 failure and 79 e](https://www.ruby-forum.com/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-e/94650)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [January 11, 2006, 5:30am UTC](https://www.ruby-forum.com/t/make-test-all-with-1-8-4-on-os-x-gives-me-1-failure-and-79-e/94650 "2006-01-11T05:30:51Z")

</div>

Ok, so I just got the latest ruby 1.8.4, compiled, ran the tests and I ended up with 1 failure and 79 errors (running ‘make test-all’) Am I the only one experiencing this ? (I am on os x 10.4.3, using gcc 4.0.0) Basic…

---

## [New Haven Rubyists Meeting 2005.01.11](https://www.ruby-forum.com/t/new-haven-rubyists-meeting-2005-01-11/60454)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [January 11, 2006, 3:54am UTC](https://www.ruby-forum.com/t/new-haven-rubyists-meeting-2005-01-11/60454 "2006-01-11T03:54:28Z")

</div>

The New Haven Ruby Brigade’s monthly meeting will take place on Wednesday, January 11th at 7pm. It will be held at the offices of Innovation Software Group in North Haven, CT. This month’s feature is a ORM panel disc…

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

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