# Ruby

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

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

---

## [Looking for Ruby Developers in or near Chicago](https://www.ruby-forum.com/t/looking-for-ruby-developers-in-or-near-chicago/51708)

<div class="topic-metadata">

**Author:** [@mfaine](https://www.ruby-forum.com/u/mfaine)\
**Replies:** 1\
**Last updated:** [January 6, 2006, 6:25am UTC](https://www.ruby-forum.com/t/looking-for-ruby-developers-in-or-near-chicago/51708 "2006-01-06T06:25:20Z")

</div>

Folks, We’re looking for a someone who is interested in doing Ruby and Rails on a full time basis here with us in the lovely Suburbs of Chicago. Our job ad follows. Mark Software Engineer - CashNetUSA CashNetUSA i…

---

## [Newbie question](https://www.ruby-forum.com/t/newbie-question/94507)

<div class="topic-metadata">

**Author:** [@mac](https://www.ruby-forum.com/u/mac)\
**Replies:** 0\
**Last updated:** [January 6, 2006, 5:34am UTC](https://www.ruby-forum.com/t/newbie-question/94507 "2006-01-06T05:34:17Z")

</div>

Hello all and happy new year. I hope this is the right mailing list for this question. If not please redirect me and accept my apologies. Thanks in advance. I just started learning Ruby. I have good experience in Jav…

---

## [\[JOB\] Open Source Software Engineer, Chicago, IL](https://www.ruby-forum.com/t/job-open-source-software-engineer-chicago-il/94505)

<div class="topic-metadata">

**Author:** [@Beau\_Gould](https://www.ruby-forum.com/u/Beau_Gould)\
**Replies:** 0\
**Last updated:** [January 6, 2006, 4:37am UTC](https://www.ruby-forum.com/t/job-open-source-software-engineer-chicago-il/94505 "2006-01-06T04:37:38Z")

</div>

Open Source Software Engineer, Chicago, IL Salary is Open and D.O.E. My client is looking for highly talented software engineer to complement its development team. Candidate will be part of a team of developers build…

---

## [Newbie - Problem Two - Ruby and Form Variables, re-loading l](https://www.ruby-forum.com/t/newbie-problem-two-ruby-and-form-variables-re-loading-l/89575)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [January 6, 2006, 3:52am UTC](https://www.ruby-forum.com/t/newbie-problem-two-ruby-and-form-variables-re-loading-l/89575 "2006-01-06T03:52:15Z")

</div>

I am attempting to copy a PHP project I did in Ruby. I basically have a search form / web page, which looks for matching records and displays them prior to the search box form. I reload the page with I then use the …

---

## [User defined instance variables](https://www.ruby-forum.com/t/user-defined-instance-variables/51701)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 2:58am UTC](https://www.ruby-forum.com/t/user-defined-instance-variables/51701 "2006-01-06T02:58:12Z")

</div>

Hey Chaps, So far so good. I’ve a menu as shown below. So far by following the “pick axe” I’ve been able to “hard code” all of my instance variables. I’d like a user to enter his/her details and let his entry specify …

---

## [Require 101](https://www.ruby-forum.com/t/require-101/94480)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 6\
**Last updated:** [January 6, 2006, 1:01am UTC](https://www.ruby-forum.com/t/require-101/94480 "2006-01-06T01:01:05Z")

</div>

Hello all, What does the return value of a require statement supposed to indicate? My understanding was that ‘true’ meant the required library got properly loaded. When I open a new IRB session and type, say, “requi…

---

## [Numeric Maze (#60)](https://www.ruby-forum.com/t/numeric-maze-60/90564)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 10\
**Last updated:** [January 6, 2006, 12:46am UTC](https://www.ruby-forum.com/t/numeric-maze-60/90564 "2006-01-06T00:46:03Z")

</div>

As with so many of our Ruby Q. problems, this is another pathfinding challenge. We’re probably pretty use to seeing that pruning of the search space is usually a big win in these cases and this problem is no exceptio…

---

## [Inherit, Delegate, or Forwarding?](https://www.ruby-forum.com/t/inherit-delegate-or-forwarding/51672)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 12:00am UTC](https://www.ruby-forum.com/t/inherit-delegate-or-forwarding/51672 "2006-01-06T00:00:55Z")

</div>

When do you guys choose to inherit from a class, use a delegate, or forwarding? What are some examples of common uses for Delegates or Forwardable? I have these fuzzy notions of times they may be useful, but some comm…

---

## [Mod\_ruby CGI file upload fails because of TypeError?](https://www.ruby-forum.com/t/mod-ruby-cgi-file-upload-fails-because-of-typeerror/51690)

<div class="topic-metadata">

**Author:** [@lglglg](https://www.ruby-forum.com/u/lglglg)\
**Replies:** 0\
**Last updated:** [January 5, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/mod-ruby-cgi-file-upload-fails-because-of-typeerror/51690 "2006-01-05T23:39:53Z")

</div>

hi guys, i have written an ruby script handling fileupload using the regular Ruby CGI class. … if tmpfile.kind\_of?(Tempfile) print “creating via FileUtils !!” FileUtils.cp tmpfile.local\_path.untaint, filename.untai…

---

## [Ruby equivalent of Lex (or Flex)?](https://www.ruby-forum.com/t/ruby-equivalent-of-lex-or-flex/56255)

<div class="topic-metadata">

**Author:** [@twp](https://www.ruby-forum.com/u/twp)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/ruby-equivalent-of-lex-or-flex/56255 "2006-01-05T22:33:47Z")

</div>

I’m interested in writing compilers in Ruby. It appears that Racc is a suitable replacement for Yacc, but I’ve not found any replacement for Lex. I’ve probably missed something. In any case, I’d much appreciate som…

---

## [Macworld](https://www.ruby-forum.com/t/macworld/85920)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 31\
**Last updated:** [January 5, 2006, 10:30pm UTC](https://www.ruby-forum.com/t/macworld/85920 "2006-01-05T22:30:46Z")

</div>

What Ruby stuff will be happening at Macworld? What software is written in Ruby, which companies are Ruby shops, will there be any Ruby events to clear up any confusion from Rails-hype, etc? We could likely avoid a l…

---

## [Can't find ruby after installation](https://www.ruby-forum.com/t/cant-find-ruby-after-installation/51676)

<div class="topic-metadata">

**Author:** [@Nirav](https://www.ruby-forum.com/u/Nirav)\
**Replies:** 4\
**Last updated:** [January 5, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/cant-find-ruby-after-installation/51676 "2006-01-05T22:15:43Z")

</div>

I skipped ruby selection while installing mandrake 10.1 with an intention of building the latest version (1.8.3). After untarring the download in /usr/local/src, I followed README (1. …/configure 2. make 3. and option…

---

## [OS X Combobox Top-Level Display](https://www.ruby-forum.com/t/os-x-combobox-top-level-display/51679)

<div class="topic-metadata">

**Author:** [@Matt\_Maycock](https://www.ruby-forum.com/u/Matt_Maycock)\
**Replies:** 0\
**Last updated:** [January 5, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/os-x-combobox-top-level-display/51679 "2006-01-05T22:06:42Z")

</div>

I have a combobox in a window, and I’m running this on OS X. When I click on the dialog button to drop it down, the toplevel that displays the list is behind the window (in this instance, the root window), and I hav…

---

## [OS X Combobox Top-Level Display](https://www.ruby-forum.com/t/os-x-combobox-top-level-display/101750)

<div class="topic-metadata">

**Author:** [@Matt\_Maycock](https://www.ruby-forum.com/u/Matt_Maycock)\
**Replies:** 0\
**Last updated:** [January 5, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/os-x-combobox-top-level-display/101750 "2006-01-05T22:06:42Z")

</div>

I have a combobox in a window, and I’m running this on OS X. When I click on the dialog button to drop it down, the toplevel that displays the list is behind the window (in this instance, the root window), and I hav…

---

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

<div class="topic-metadata">

**Author:** [@twifkak](https://www.ruby-forum.com/u/twifkak)\
**Replies:** 33\
**Last updated:** [January 5, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/on-symbols/82753 "2006-01-05T21:42:39Z")

</div>

Hey, all you lurkers: Have any of the explanations in the thread (What is the difference between :foo and “foo” ?) helped you understand symbols? A combination of them? Or a combination of a couple of explanations, an…

---

## [Net/imap idle](https://www.ruby-forum.com/t/net-imap-idle/93327)

<div class="topic-metadata">

**Author:** [@Payton\_S](https://www.ruby-forum.com/u/Payton_S)\
**Replies:** 0\
**Last updated:** [January 5, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/net-imap-idle/93327 "2006-01-05T20:51:37Z")

</div>

Perhaps there’s another way to do this without polling, but I added the IMAP IDLE (and associated DONE) command to Shugo M.'s excellent net/imap API. For those unaware, RFC 2177 adds the IDLE command to the IMAP spec…

---

## [The "ruby way" to break apart a name?](https://www.ruby-forum.com/t/the-ruby-way-to-break-apart-a-name/54199)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 25\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/the-ruby-way-to-break-apart-a-name/54199 "2006-01-05T19:57:34Z")

</div>

Switching from C# to Ruby, and learning to write “the Ruby way”… is there a better way to get the first and last names from a string? Assume for simplicity that the the first name is the text up to the first space, an…

---

## [Web examples](https://www.ruby-forum.com/t/web-examples/89573)

<div class="topic-metadata">

**Author:** [@conspirisi](https://www.ruby-forum.com/u/conspirisi)\
**Replies:** 12\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/web-examples/89573 "2006-01-05T19:57:32Z")

</div>

i’m thinking about getting into Ruby. I want to build web browser based applications. Is Ruby any good for this kind of thing? If so are there any good links out there that demonstate this?

---

## [Searching a file for keywords?](https://www.ruby-forum.com/t/searching-a-file-for-keywords/89382)

<div class="topic-metadata">

**Author:** [@comtux](https://www.ruby-forum.com/u/comtux)\
**Replies:** 7\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/searching-a-file-for-keywords/89382 "2006-01-05T19:57:29Z")

</div>

I am trying to find out how to search a file and find certain key words then print them. Example: #!/usr/bin/ruby system(“cat /proc/partitions \> drives.txt”) Output: 8 0 1007616 sda 8 1 1007600 sda1 …

---

## [Trapping errors, a simple example](https://www.ruby-forum.com/t/trapping-errors-a-simple-example/56246)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/trapping-errors-a-simple-example/56246 "2006-01-05T19:57:28Z")

</div>

Hey Chaps, Here’s a really simple menu with only 4 options. I’d like to be able do some simple error trapping… How’s it done? #!/usr/bin/ruby #Wed Jan 4 06:17:22 GMT 2006 class TopMenu def welcome puts “Welcome t…

---

## [Recommended command line options for new rubyists](https://www.ruby-forum.com/t/recommended-command-line-options-for-new-rubyists/51635)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [January 5, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/recommended-command-line-options-for-new-rubyists/51635 "2006-01-05T18:48:42Z")

</div>

Hi guys, There are loooads of ruby docs out there. There are also some good reference guides under /usr/share/doc/ruby-1.8.3, /usr/share/doc/ruby-docs-1.8.3 and /usr/share/doc/ruby-libs-1.8.3. What would the more exp…

---

## [Field Scope](https://www.ruby-forum.com/t/field-scope/90250)

<div class="topic-metadata">

**Author:** [@forest](https://www.ruby-forum.com/u/forest)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/field-scope/90250 "2006-01-05T17:44:45Z")

</div>

what is the scope of @run field in the code below. Is it module static ? If not, how module static methods can access it ? module Test module Unit def self.run=(flag) @run = flag end def self.run? @run ||= fals…

---

## [Re: Numeric Maze (#60)](https://www.ruby-forum.com/t/re-numeric-maze-60/51663)

<div class="topic-metadata">

**Author:** [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Replies:** 1\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/re-numeric-maze-60/51663 "2006-01-05T17:44:45Z")

</div>

The code is ugly, please turn down the light: This was already true with the original (my) code but is so annoying now that I would like to recommend: Don’t do that at home! If you realy, realy need the additional …

---

## [Family Connection 0.9](https://www.ruby-forum.com/t/family-connection-0-9/89014)

<div class="topic-metadata">

**Author:** [@Duane\_J](https://www.ruby-forum.com/u/Duane_J)\
**Replies:** 22\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/family-connection-0-9/89014 "2006-01-05T17:44:39Z")

</div>

Family Connection is an easy-to-setup online hub for your family that includes a Family News section, and an Address Book. Currently, there is no documentation on installing the Rails application itself (hence the 0.…

---

## [Need create RTF-type file and DOC-type file](https://www.ruby-forum.com/t/need-create-rtf-type-file-and-doc-type-file/56213)

<div class="topic-metadata">

**Author:** [@keal](https://www.ruby-forum.com/u/keal)\
**Replies:** 1\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/need-create-rtf-type-file-and-doc-type-file/56213 "2006-01-05T17:44:39Z")

</div>

i need library to create RTF-type file and DOC-type file. can be two differt library for RTF and DOC

---

## [Win32ole and mci.mmcontrol failure](https://www.ruby-forum.com/t/win32ole-and-mci-mmcontrol-failure/51648)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/win32ole-and-mci-mmcontrol-failure/51648 "2006-01-05T17:44:31Z")

</div>

Hi all, Windows XP, SP2 Ruby 1.8.2 and 1.8.4 Why does this fail? irb(main):001:0\> require “win32ole” =\> true irb(main):002:0\> sound = WIN32OLE.new(“MCI.MMControl”) WIN32OLERuntimeError: unknown OLE server: MCI.MMC…

---

## [Win32-services - RPC server unavailable?](https://www.ruby-forum.com/t/win32-services-rpc-server-unavailable/89425)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 4\
**Last updated:** [January 5, 2006, 5:44pm UTC](https://www.ruby-forum.com/t/win32-services-rpc-server-unavailable/89425 "2006-01-05T17:44:27Z")

</div>

Hi Trying to get a ruby win32 service running on my winxp. Downloaded the win32-installer from raa, it seemed to install OK. Then trying this sample code: require “win32/service” include Win32 s = Service.new(“some…

---

## [String utf8 size in kilobytes](https://www.ruby-forum.com/t/string-utf8-size-in-kilobytes/90059)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 2\
**Last updated:** [January 5, 2006, 1:47pm UTC](https://www.ruby-forum.com/t/string-utf8-size-in-kilobytes/90059 "2006-01-05T13:47:47Z")

</div>

I have a mimemessage in a string. This string is utf8, i would like to know the size of this string. String.size gives me the length in characters, but i need the size in kb or bytes

---

## [Redirecting CGI#out to a string](https://www.ruby-forum.com/t/redirecting-cgi-out-to-a-string/90101)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [January 5, 2006, 1:00pm UTC](https://www.ruby-forum.com/t/redirecting-cgi-out-to-a-string/90101 "2006-01-05T13:00:07Z")

</div>

Hi All For my first “production” ruby app, I’m writing a self contained web interface to the TSM backup product, based on some existing, awful, perl code. I’m using webrick because the number of requests will be sma…

---

## [Pulling XML from Amazon API](https://www.ruby-forum.com/t/pulling-xml-from-amazon-api/89701)

<div class="topic-metadata">

**Author:** [@jotto](https://www.ruby-forum.com/u/jotto)\
**Replies:** 5\
**Last updated:** [January 5, 2006, 11:53am UTC](https://www.ruby-forum.com/t/pulling-xml-from-amazon-api/89701 "2006-01-05T11:53:53Z")

</div>

Take Amazon’s API for example, returning a XML file. In my application (I’m using Rails), I want to allow the user to specify a criteria, input it into a URL and send that URL to amazon to get the resulting XML file. …

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

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