# Ruby

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

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

---

## [Idiomatic ruby](https://www.ruby-forum.com/t/idiomatic-ruby/77446)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 10\
**Last updated:** [March 6, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/idiomatic-ruby/77446 "2006-03-06T22:53:58Z")

</div>

Is there a right way and a wrong way to code in Ruby? I just started coding some in Ruby last Friday. Since then, I’ve written several small scripts on Windows using WMI with Ruby. My scripts work fine, I just worry t…

---

## [Imginfo = Magick::Image.read(@params\['name'\]) .first](https://www.ruby-forum.com/t/imginfo-magick-image-read-params-name-first/54487)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/imginfo-magick-image-read-params-name-first/54487 "2006-03-06T22:41:40Z")

</div>

I try do upload of image but before I need to check the size of it so I made the form to uplaod \<%= form\_tag({:action=\>‘upload’, :id =\> @property.id }, :multipart =\> true )%\> \<%= file\_field ‘image’, ‘name’ %\> \<%= …

---

## [Class method in singleton\_methods?](https://www.ruby-forum.com/t/class-method-in-singleton-methods/75615)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 9\
**Last updated:** [March 6, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/class-method-in-singleton-methods/75615 "2006-03-06T22:01:45Z")

</div>

Hi group. I’ve found that I have to query class methods like: irb(main):001:0\> class Foo irb(main):002:1\> def Foo.bar irb(main):003:2\> end irb(main):004:1\> end =\> nil irb(main):005:0\> Foo.singleton\_methods =\> …

---

## [Re: Capistrano 1.1 (had been ruby-gem SwitchTower)](https://www.ruby-forum.com/t/re-capistrano-1-1-had-been-ruby-gem-switchtower/77445)

<div class="topic-metadata">

**Author:** [@Garance\_A\_Drosehn](https://www.ruby-forum.com/u/Garance_A_Drosehn)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 9:36pm UTC](https://www.ruby-forum.com/t/re-capistrano-1-1-had-been-ruby-gem-switchtower/77445 "2006-03-06T21:36:46Z")

</div>

On 3/6/06, Jamis B. removed\_email\_address@domain.invalid wrote: Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Version 1.1 introduces a few…

---

## [Symbols](https://www.ruby-forum.com/t/symbols/76740)

<div class="topic-metadata">

**Author:** [@Servando\_G](https://www.ruby-forum.com/u/Servando_G)\
**Replies:** 10\
**Last updated:** [March 6, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/symbols/76740 "2006-03-06T21:21:39Z")

</div>

Hello all . I am a newbie to Ruby. I have been reading everything I can get my hands on about Ruby. I understand what a symbol is and how it saves memory space. I just can not seem to find any good reason to use one. …

---

## [The Golden Fibonacci Ratio](https://www.ruby-forum.com/t/the-golden-fibonacci-ratio/54448)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 6\
**Last updated:** [March 6, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/the-golden-fibonacci-ratio/54448 "2006-03-06T21:12:29Z")

</div>

Here is my solution… Uses a cheap trick (a la method\_missing) to allow inline Postscript as method calls (so not as postfix). The output is dumped to standard output to be redirected to a .ps file, which can be easi…

---

## [rubyQT on win32](https://www.ruby-forum.com/t/rubyqt-on-win32/77439)

<div class="topic-metadata">

**Author:** [@James\_McCarthy](https://www.ruby-forum.com/u/James_McCarthy)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/rubyqt-on-win32/77439 "2006-03-06T20:54:05Z")

</div>

Do the rubyQT bindings work with the latest version of QT(4.1.1) from TrollTech on windows (win2000, XP, Server2003)?

---

## [Repocaster.com : RSS feeds of Subversion/CVS repositories](https://www.ruby-forum.com/t/repocaster-com-rss-feeds-of-subversion-cvs-repositories/54483)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/repocaster-com-rss-feeds-of-subversion-cvs-repositories/54483 "2006-03-06T19:59:15Z")

</div>

Hi there!, I just deployed my first RubyOnRails application. It allows the user to register Subversion/CVS repositories, which are then tracked periodically and RSS feeds generated with all the recent changes. It's …

---

## [Re: new version for Zeta](https://www.ruby-forum.com/t/re-new-version-for-zeta/54475)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/re-new-version-for-zeta/54475 "2006-03-06T18:40:17Z")

</div>

\-----Original Message----- From: removed\_email\_address@domain.invalid \[mailto:removed\_email\_address@domain.invalid\] On Behalf Of RafaelK Sent: Sunday, March 05, 2006 11:26 PM To: ruby-talk ML Subject: new version f…

---

## [Array range](https://www.ruby-forum.com/t/array-range/77334)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 4\
**Last updated:** [March 6, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/array-range/77334 "2006-03-06T17:59:06Z")

</div>

Hi, I have a question about assigning the contents of a list of variables with names like title1, title2, title3 up to title20 to an array. Currently, this is the code that I use. title1 = ruby title2 = rails title…

---

## [Re: installing win32-process](https://www.ruby-forum.com/t/re-installing-win32-process/77335)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [March 6, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/re-installing-win32-process/77335 "2006-03-06T17:51:29Z")

</div>

series of precompiled binaries, or to download the process-0.3.2.so file on the RubyForge ‘files’ page (and rename it to process.so), and install it by hand. OK, thanks… what’s the proper way to require or include…

---

## [Empty element in string array?](https://www.ruby-forum.com/t/empty-element-in-string-array/77369)

<div class="topic-metadata">

**Author:** [@simonsaid](https://www.ruby-forum.com/u/simonsaid)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/empty-element-in-string-array/77369 "2006-03-06T17:45:22Z")

</div>

%w(a \\ b) #-\> \[“a”, " ", “b”\] is it possible to get output \[“a”, “”, “b”\] ?

---

## [Re: installing win32-process](https://www.ruby-forum.com/t/re-installing-win32-process/77296)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 5:20pm UTC](https://www.ruby-forum.com/t/re-installing-win32-process/77296 "2006-03-06T17:20:57Z")

</div>

win32-process-0.3.2 zip file, I need one to install. Why But none of the other win32 packages. I’m new to Ruby, perhaps I’m doing something wrong. Any tips? There isn’t a gem yet for win32-process. Your best option…

---

## [Ruby gnome bindings on OSX](https://www.ruby-forum.com/t/ruby-gnome-bindings-on-osx/54462)

<div class="topic-metadata">

**Author:** [@Robert\_Love](https://www.ruby-forum.com/u/Robert_Love)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/ruby-gnome-bindings-on-osx/54462 "2006-03-06T17:17:54Z")

</div>

I’ve used Fink to install the native GTK libraries and when I try to run ruby extconf I get failure. It announces it ignores all libraries and counter to the warning, there is no mkmf log file. I’ve tried --topdir=/…

---

## [Problems with "require" when embedding Ruby](https://www.ruby-forum.com/t/problems-with-require-when-embedding-ruby/77298)

<div class="topic-metadata">

**Author:** [@Rurouni](https://www.ruby-forum.com/u/Rurouni)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/problems-with-require-when-embedding-ruby/77298 "2006-03-06T17:05:40Z")

</div>

I have Ruby interpreter embedded in engine… so far all was good. But when I tried to require custom extension compiled in .dll(some C++ exported using SWIG) I encountered an error… As far as I know require simple is …

---

## [DRb connection closed (nil size)](https://www.ruby-forum.com/t/drb-connection-closed-nil-size/77297)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/drb-connection-closed-nil-size/77297 "2006-03-06T16:50:33Z")

</div>

\[Using Ruby 1.8.3 and DRb 2.0.4\] I’m getting odd behavior with DRb. I’m half of my development machines, we get the following load error when trying to start our DRb server: /usr/local/lib/ruby/1.8/drb/drb.rb:567:in l…

---

## [Rails Developer Required](https://www.ruby-forum.com/t/rails-developer-required/54473)

<div class="topic-metadata">

**Author:** [@dibya](https://www.ruby-forum.com/u/dibya)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/rails-developer-required/54473 "2006-03-06T16:23:04Z")

</div>

Hello, We are looking for a Ruby/ROR developer who can work on an on-going project for a period of 10-15 days on a contract basis.If found suitable,it will be a long-term opening.Telecommute is absolutely fine. Thi…

---

## [Symbols similiar to defined in c++?](https://www.ruby-forum.com/t/symbols-similiar-to-defined-in-c/76742)

<div class="topic-metadata">

**Author:** [@Servando\_G](https://www.ruby-forum.com/u/Servando_G)\
**Replies:** 6\
**Last updated:** [March 6, 2006, 4:23pm UTC](https://www.ruby-forum.com/t/symbols-similiar-to-defined-in-c/76742 "2006-03-06T16:23:04Z")

</div>

would it be safe to say that I can use symbols in the same manner as a defined variable in c++ define n 9 void main() { for (index=0; while index \< n,index++) print index while }

---

## [Installing win32-process](https://www.ruby-forum.com/t/installing-win32-process/77267)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 4:19pm UTC](https://www.ruby-forum.com/t/installing-win32-process/77267 "2006-03-06T16:19:59Z")

</div>

Can this be installed with gem? I don’t have a C compiler. According to the README in the win32-process-0.3.2 zip file, I need one to install. Why can’t I use gem to get it? When I do ‘gem query --remote --name-match…

---

## [OK.rb's First Meeting](https://www.ruby-forum.com/t/ok-rbs-first-meeting/53593)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [March 6, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/ok-rbs-first-meeting/53593 "2006-03-06T14:45:38Z")

</div>

After a long search, aided by my Ruby friends in other states even, I’ve finally located some locals who are interested in an Oklahoma Ruby U. Group. Planning is now underway for just that. The Oklahoma Ruby U. Group…

---

## [Libxml problems](https://www.ruby-forum.com/t/libxml-problems/77050)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 12:35pm UTC](https://www.ruby-forum.com/t/libxml-problems/77050 "2006-03-06T12:35:26Z")

</div>

We are looking at changing from using rexml in one project to libxml, as it proves to be much faster. However, the ruby libxml binding seems to be missing the capability to remove elements from an XML document (or at …

---

## [FreeRide and Rails](https://www.ruby-forum.com/t/freeride-and-rails/76896)

<div class="topic-metadata">

**Author:** [@Daniel\_VSSSSlkerts](https://www.ruby-forum.com/u/Daniel_VSSSSlkerts)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 11:01am UTC](https://www.ruby-forum.com/t/freeride-and-rails/76896 "2006-03-06T11:01:20Z")

</div>

Hello! Currently I’m using scite for my rails work. I inspected the freeride editor and liked it due the integrated irb and ri stuff. But I wasn’t able to open .rhtml .css files from the file browser. The containing …

---

## [Piping binary data to an external program](https://www.ruby-forum.com/t/piping-binary-data-to-an-external-program/77229)

<div class="topic-metadata">

**Author:** [@SSMKSM](https://www.ruby-forum.com/u/SSMKSM)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 10:49am UTC](https://www.ruby-forum.com/t/piping-binary-data-to-an-external-program/77229 "2006-03-06T10:49:10Z")

</div>

Hello, I’m working on a logparser and i’ve run into some issues. It will parse OpenBSD PF logs. They are tcpdump format logs and BSD normally compress them. Here is the usage I have in mind: “gzip -cd log.gz | ruby …

---

## [The Golden Fibbonacci Ratio (#69)](https://www.ruby-forum.com/t/the-golden-fibbonacci-ratio-69/77002)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 6\
**Last updated:** [March 6, 2006, 10:03am UTC](https://www.ruby-forum.com/t/the-golden-fibbonacci-ratio-69/77002 "2006-03-06T10:03:42Z")

</div>

Here’s my solution. It’s fairly pedestrian, although the size and aspect ratio of the ASCII-art squares are configurable. It builds the picture as an array of strings, appending alternately to the end of the array an…

---

## [Bignum problems](https://www.ruby-forum.com/t/bignum-problems/77184)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 6\
**Last updated:** [March 6, 2006, 8:08am UTC](https://www.ruby-forum.com/t/bignum-problems/77184 "2006-03-06T08:08:58Z")

</div>

The problems with Bignums in recent YAMLs have been discussed(\*), but does anyone have a patch that can be loaded in ruby code to get around it? This just turned into a minor disaster for me… $ ruby -v ruby 1.8.4 (2…

---

## [Mongrel 0.3.9 -- GemPlugin Based](https://www.ruby-forum.com/t/mongrel-0-3-9-gemplugin-based/54465)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 7:38am UTC](https://www.ruby-forum.com/t/mongrel-0-3-9-gemplugin-based/54465 "2006-03-06T07:38:44Z")

</div>

Hello everyone, Mongrel now has plugins that are based entirely on RubyGems. This feature was so slick that I decided to bust it out into a separate project called GemPlugin (more on that later). What the new plug…

---

## [Can't get my Mac OSX UNIX to run 1.8](https://www.ruby-forum.com/t/cant-get-my-mac-osx-unix-to-run-1-8/54461)

<div class="topic-metadata">

**Author:** [@superN00b](https://www.ruby-forum.com/u/superN00b)\
**Replies:** 10\
**Last updated:** [March 6, 2006, 7:35am UTC](https://www.ruby-forum.com/t/cant-get-my-mac-osx-unix-to-run-1-8/54461 "2006-03-06T07:35:43Z")

</div>

Hey guys! This is my first post here, and I’ve never studied computers formally, so this is probably going to sound like a stupid question. I installed Ruby 1.8 using Terminal on Mac OSX (Thank God for Visual Quickst…

---

## [New version for Zeta](https://www.ruby-forum.com/t/new-version-for-zeta/54464)

<div class="topic-metadata">

**Author:** [@RafaelK](https://www.ruby-forum.com/u/RafaelK)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 7:26am UTC](https://www.ruby-forum.com/t/new-version-for-zeta/54464 "2006-03-06T07:26:08Z")

</div>

here is the latest version for Zeta http://thaler-online.com/zetawiki/index.php?title=Ruby

---

## [Undefined method \`convert\_to' for false:FalseClass](https://www.ruby-forum.com/t/undefined-method-convert-to-for-false-falseclass/77136)

<div class="topic-metadata">

**Author:** [@dean](https://www.ruby-forum.com/u/dean)\
**Replies:** 1\
**Last updated:** [March 6, 2006, 6:21am UTC](https://www.ruby-forum.com/t/undefined-method-convert-to-for-false-falseclass/77136 "2006-03-06T06:21:14Z")

</div>

I have a rails app (so maybe this is a question for the rails list) that uses a temperature class I also wrote. When the app goes to save a new record, I get this error message. undefined method \`convert\_to’ for fals…

---

## [Win32utils](https://www.ruby-forum.com/t/win32utils/77101)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 2\
**Last updated:** [March 6, 2006, 5:34am UTC](https://www.ruby-forum.com/t/win32utils/77101 "2006-03-06T05:34:57Z")

</div>

“A series of packages that provide Ruby interfaces to Win32 systems and services. This project supports Windows NT, 2000 and XP only” The above is from http://rubyforge.org/projects/win32utils/ So, Windows 2003 Server…

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

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