# Ruby

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

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

---

## [Reminder: PDX.rb presents FOSCON III: Really Radical Ruby, T](https://www.ruby-forum.com/t/reminder-pdx-rb-presents-foscon-iii-really-radical-ruby-t/110137)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 6:34pm UTC](https://www.ruby-forum.com/t/reminder-pdx-rb-presents-foscon-iii-really-radical-ruby-t/110137 "2007-07-23T18:34:54Z")

</div>

PDX.rb presents FOSCON III: Really Radical Ruby Once again the Portland Ruby Brigade will be hosting an evening of wide ranging talks about Ruby. This year the focus is on people doing strange things with Ruby. Strang…

---

## [First look at IronRuby](https://www.ruby-forum.com/t/first-look-at-ironruby/110134)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/first-look-at-ironruby/110134 "2007-07-23T17:20:50Z")

</div>

Hi all, John L. posted the first IronRuby source release today: http://www.iunknown.com/2007/07/a-first-look-at.html best, Dan

---

## [Libxml (XML::Node.content)](https://www.ruby-forum.com/t/libxml-xml-node-content/110135)

<div class="topic-metadata">

**Author:** [@kuba](https://www.ruby-forum.com/u/kuba)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/libxml-xml-node-content/110135 "2007-07-23T17:07:59Z")

</div>

Hello all, quick question regarding XML:Node.content method. Why content is empty for following ? #write doc = XML::Document.new() doc.root = XML::Node.new(‘root\_node’) root = doc.root root \<\< elem1 = XML::Node.new…

---

## [Disk space allocation](https://www.ruby-forum.com/t/disk-space-allocation/110127)

<div class="topic-metadata">

**Author:** [@itsybitsyspidy](https://www.ruby-forum.com/u/itsybitsyspidy)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 4:32pm UTC](https://www.ruby-forum.com/t/disk-space-allocation/110127 "2007-07-23T16:32:33Z")

</div>

Hi fellow ruby programmers, Do you guys have any recommendations on how do i go about handling the function of giving my registered users on my website some disk space? I’m running a ruby website on a Fedora Core 5 Li…

---

## [Win32OLE problem](https://www.ruby-forum.com/t/win32ole-problem/109966)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/win32ole-problem/109966 "2007-07-23T16:24:23Z")

</div>

When executing this code: adsi = WIN32OLE.connect(“WinNT://TECHNO/ARDR\_108,group”) adsi.put(“Add”, “glen”) I get the following error: WIN32OLERuntimeError: put OLE error code:8000500F in HRESULT error code:0x800…

---

## [Help me](https://www.ruby-forum.com/t/help-me/110116)

<div class="topic-metadata">

**Author:** [@geetha](https://www.ruby-forum.com/u/geetha)\
**Replies:** 6\
**Last updated:** [July 23, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/help-me/110116 "2007-07-23T15:53:42Z")

</div>

Hi, I am doing string search is one html file usign ruby. If the seach sting is htmlentities means I have not match that word. How can i do it. Please any one help me… regards, S.Sangeetha.

---

## [How do you "undef\_method" for a class method?](https://www.ruby-forum.com/t/how-do-you-undef-method-for-a-class-method/110078)

<div class="topic-metadata">

**Author:** [@Dean\_W](https://www.ruby-forum.com/u/Dean_W)\
**Replies:** 9\
**Last updated:** [July 23, 2007, 3:35pm UTC](https://www.ruby-forum.com/t/how-do-you-undef-method-for-a-class-method/110078 "2007-07-23T15:35:47Z")

</div>

Module#undef\_method and Module#remove\_method work fine for instance methods, but if you specify a class method, your get an error that it doesn’t exist. (I’m using ruby 1.8.6.) Is there a way to do this? TIA. Dean

---

## [Processing XML (Time Concerns)](https://www.ruby-forum.com/t/processing-xml-time-concerns/71644)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/processing-xml-time-concerns/71644 "2007-07-23T13:23:58Z")

</div>

This is purely an experiential question in nature, so I apologize for its clear lack of focus. What I’m curious about is if any of you have been using REXML (or perhaps another XML solution for Ruby) to parse and modi…

---

## [Xsd2ruby error.... base type definition not found](https://www.ruby-forum.com/t/xsd2ruby-error-base-type-definition-not-found/109662)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 9\
**Last updated:** [July 23, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/xsd2ruby-error-base-type-definition-not-found/109662 "2007-07-23T13:08:08Z")

</div>

Hey guys Has anyone had any experience working with xsd2ruby? I am getting the following error and there seems to be little or no documentation on what the devil it means! I, \[2007-07-17T16:07:27.445714 #1264\] INFO …

---

## [ANN: Sequel 0.1.9 Released](https://www.ruby-forum.com/t/ann-sequel-0-1-9-released/110041)

<div class="topic-metadata">

**Author:** [@ciconia](https://www.ruby-forum.com/u/ciconia)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 10:45am UTC](https://www.ruby-forum.com/t/ann-sequel-0-1-9-released/110041 "2007-07-23T10:45:12Z")

</div>

Sequel version 0.1.9 has just been released. This release contains a much improved MySQL adapter, a new single-threaded database feature and a few bug fixes. Following is a discussion of the main changes: Improved M…

---

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

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 4\
**Last updated:** [July 23, 2007, 8:49am UTC](https://www.ruby-forum.com/t/array-permutations/110101 "2007-07-23T08:49:37Z")

</div>

The other day I ran into a problem where I needed all the permutations of a given array. I knew I had covered this in some of my CS classes but couldn’t come up with the algorithm at first. I figured it out on the dri…

---

## [Problem with File.exists? giving an incorrect result](https://www.ruby-forum.com/t/problem-with-file-exists-giving-an-incorrect-result/110064)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 4\
**Last updated:** [July 23, 2007, 3:12am UTC](https://www.ruby-forum.com/t/problem-with-file-exists-giving-an-incorrect-result/110064 "2007-07-23T03:12:40Z")

</div>

I have a problem with a script I’m working on. File.exists? is telling me that a file does in fact exist, then immediately after when I try to do a File.read, it crashes because the file doesn’t exist. I know that i…

---

## [Not woking in Linux](https://www.ruby-forum.com/t/not-woking-in-linux/110079)

<div class="topic-metadata">

**Author:** [@rorjeff](https://www.ruby-forum.com/u/rorjeff)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 2:46am UTC](https://www.ruby-forum.com/t/not-woking-in-linux/110079 "2007-07-23T02:46:55Z")

</div>

require ‘csv’ lane\_data = CSV.read(’/usr/prod/lanedata/testinfofile’) lane1 = lane.find\_all { |lane| lane\[0\] =~ /“lane 1”/ } printf “%2s %2s \\n”, laura\[0\]\[0\], laura\[0\]\[1\] The above code works in SciTE. But in Linux…

---

## [Caches\_page](https://www.ruby-forum.com/t/caches-page/110057)

<div class="topic-metadata">

**Author:** [@kris](https://www.ruby-forum.com/u/kris)\
**Replies:** 1\
**Last updated:** [July 23, 2007, 2:38am UTC](https://www.ruby-forum.com/t/caches-page/110057 "2007-07-23T02:38:41Z")

</div>

I’m looking for something that has similar functionality to the caches\_page directive provided by rails but that caches a seperate based on the params that are passed into the request. For example if I have a request…

---

## [Mechanize to access https links](https://www.ruby-forum.com/t/mechanize-to-access-https-links/110070)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 12:46am UTC](https://www.ruby-forum.com/t/mechanize-to-access-https-links/110070 "2007-07-23T00:46:30Z")

</div>

I would like to open and save to disk https tutorials which were created with Flash i think. To simplify, I login to the site with a webbrowser, so I don’t need to access a form. Just pages with links to the tutorials…

---

## [\[ANN\] Ruby-VPI 17.0.0](https://www.ruby-forum.com/t/ann-ruby-vpi-17-0-0/110089)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [July 23, 2007, 12:02am UTC](https://www.ruby-forum.com/t/ann-ruby-vpi-17-0-0/110089 "2007-07-23T00:02:31Z")

</div>

Ruby-VPI is a Ruby interface to IEEE 1364-2005 Verilog VPI and a platform for unit testing, rapid prototyping, and systems integration of Verilog modules through Ruby. It lets you create complex Verilog test benches e…

---

## [How to implement editor within Ruby script?](https://www.ruby-forum.com/t/how-to-implement-editor-within-ruby-script/110083)

<div class="topic-metadata">

**Author:** [@dasdasein](https://www.ruby-forum.com/u/dasdasein)\
**Replies:** 1\
**Last updated:** [July 22, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/how-to-implement-editor-within-ruby-script/110083 "2007-07-22T21:28:34Z")

</div>

How can you start up an external cli editor (like emacs, vi, pico etc.) from a ruby script to edit a file and return to the script after editing is completed? Tony

---

## [(1 \<\< 0x40000000)\[0x40000000\]](https://www.ruby-forum.com/t/1-0x40000000-0x40000000/110074)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [July 22, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/1-0x40000000-0x40000000/110074 "2007-07-22T20:16:33Z")

</div>

e$B\<!$N$h$&$K!"e(B(1 \<\< 0x40000000)\[0x40000000\] e$B$,e(B 0 e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘p((1 \<\< 0x40000000)\[0x40000000\])’ ruby 1.9.0 (2007-07-22 patchlevel 0) \[i686-linux\] 0 e$B$^$?!"e(B(-1 \<\< 0x40000001)\[0x4000…

---

## [Extra text in puts command](https://www.ruby-forum.com/t/extra-text-in-puts-command/110058)

<div class="topic-metadata">

**Author:** [@Jenny\_P](https://www.ruby-forum.com/u/Jenny_P)\
**Replies:** 2\
**Last updated:** [July 22, 2007, 6:16pm UTC](https://www.ruby-forum.com/t/extra-text-in-puts-command/110058 "2007-07-22T18:16:23Z")

</div>

This one seems incredibly simple and I’m sure I’m just missing something obvious. I have the following ‘puts’ command to push my results to a csv file: puts CSV.generate\_line(\[pole\_new\[j\], horse\_name\[j\], horse\_info\[j\]…

---

## [Like man or apropos for Ruby](https://www.ruby-forum.com/t/like-man-or-apropos-for-ruby/110002)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 12\
**Last updated:** [July 22, 2007, 4:56pm UTC](https://www.ruby-forum.com/t/like-man-or-apropos-for-ruby/110002 "2007-07-22T16:56:24Z")

</div>

Rubiods: After years of studying Ruby, one factoid has eluded me. Actually, more than one, but I have to start somewhere… How, on a command line, can I do the equivalent of ‘apropos’ or ‘man’? How can I search the …

---

## [First ruby script mysql data input](https://www.ruby-forum.com/t/first-ruby-script-mysql-data-input/110051)

<div class="topic-metadata">

**Author:** [@PB0711](https://www.ruby-forum.com/u/PB0711)\
**Replies:** 3\
**Last updated:** [July 22, 2007, 3:13pm UTC](https://www.ruby-forum.com/t/first-ruby-script-mysql-data-input/110051 "2007-07-22T15:13:43Z")

</div>

Hello all, I’m trying to use ruby for the first time. I want to make a script that is going to parse through my file and pick stuff up and place it into a database. When I put it into the database I would like to firs…

---

## [IO.popen - continuous output](https://www.ruby-forum.com/t/io-popen-continuous-output/109910)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 6\
**Last updated:** [July 22, 2007, 11:30am UTC](https://www.ruby-forum.com/t/io-popen-continuous-output/109910 "2007-07-22T11:30:59Z")

</div>

Hi, is it possible to get a continuous output stream with IO.popen(‘xxx’) example, IO.popen(‘tail -f some\_log\_file’)… where the goal is to see the tail output as it’s generating, rather than waiting for the process …

---

## [Line.split with some complicating factors](https://www.ruby-forum.com/t/line-split-with-some-complicating-factors/109919)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 6\
**Last updated:** [July 22, 2007, 10:59am UTC](https://www.ruby-forum.com/t/line-split-with-some-complicating-factors/109919 "2007-07-22T10:59:57Z")

</div>

Hi all, I’ve been thinking about this for a while but cant figure out an efficient (or any actually) way to do the following: a line contains a list of coordinates (specifying a range) separated by a “,” like so: 5…

---

## [Method to return elements of an array in numeric 'rank'?](https://www.ruby-forum.com/t/method-to-return-elements-of-an-array-in-numeric-rank/110052)

<div class="topic-metadata">

**Author:** [@Jenny\_P](https://www.ruby-forum.com/u/Jenny_P)\
**Replies:** 7\
**Last updated:** [July 22, 2007, 9:03am UTC](https://www.ruby-forum.com/t/method-to-return-elements-of-an-array-in-numeric-rank/110052 "2007-07-22T09:03:54Z")

</div>

I’m working on a Ruby program to simulate horse races for a fantasy horse racing league. It works off a csv file I put together by hand with the information necessary for each race. Included in this is a set of “pre-p…

---

## [ANN: Melbourne Ruby/Rails meetup this Thursday night](https://www.ruby-forum.com/t/ann-melbourne-ruby-rails-meetup-this-thursday-night/110060)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 0\
**Last updated:** [July 22, 2007, 8:28am UTC](https://www.ruby-forum.com/t/ann-melbourne-ruby-rails-meetup-this-thursday-night/110060 "2007-07-22T08:28:14Z")

</div>

The Melbourne (Australia, not Florida) Ruby group is having their next meetup on Thursday night (July 26), 6:00 PM, at: ThoughtWorks Level 11, 155 Queen St (SMS Mark on 0414 740 489 if you have trouble getting…

---

## [Array flatten memory "leak"?](https://www.ruby-forum.com/t/array-flatten-memory-leak/109897)

<div class="topic-metadata">

**Author:** [@Ron\_M](https://www.ruby-forum.com/u/Ron_M)\
**Replies:** 6\
**Last updated:** [July 22, 2007, 5:15am UTC](https://www.ruby-forum.com/t/array-flatten-memory-leak/109897 "2007-07-22T05:15:53Z")

</div>

After I use “flatten” on a big array; the garbage collector seems to get pretty forgetful of what memory it’s allowed to free up. In both of the following scripts, the first two lines create an array of many arrays; …

---

## [ActiveRecord::Extensions 0.7.0 Released!](https://www.ruby-forum.com/t/activerecord-extensions-0-7-0-released/110016)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 1\
**Last updated:** [July 22, 2007, 4:40am UTC](https://www.ruby-forum.com/t/activerecord-extensions-0-7-0-released/110016 "2007-07-22T04:40:36Z")

</div>

ctiveRecord::Extensions 0.7.0 is released! What’s New ? The big update is Oracle support for better finders (regexps only supported on Oracle 10 or higher) and import functionality, as well as having created\_at/updat…

---

## [Ruby Mechanize issues](https://www.ruby-forum.com/t/ruby-mechanize-issues/110048)

<div class="topic-metadata">

**Author:** [@Timothy\_Brown](https://www.ruby-forum.com/u/Timothy_Brown)\
**Replies:** 0\
**Last updated:** [July 22, 2007, 2:43am UTC](https://www.ruby-forum.com/t/ruby-mechanize-issues/110048 "2007-07-22T02:43:39Z")

</div>

I’m having a devil of a time trying to scrape an onerous website with Scrubyt/Mechanize. Changing the site’s policies is out of scope, so I need to try to find some way to work around them. I think the problem is cen…

---

## [Ruby One-Click Installer for OSX Tiger](https://www.ruby-forum.com/t/ruby-one-click-installer-for-osx-tiger/109997)

<div class="topic-metadata">

**Author:** [@mtnbiker](https://www.ruby-forum.com/u/mtnbiker)\
**Replies:** 3\
**Last updated:** [July 21, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ruby-one-click-installer-for-osx-tiger/109997 "2007-07-21T23:05:41Z")

</div>

This package is the most simple way to equip your Macintosh Apple OSX System with Ruby - similar to the Windows Ruby O.-Click Installer. It replaces the broken Readline library, updates to a current version of SQLite3…

---

## [Help needed with this ERB code](https://www.ruby-forum.com/t/help-needed-with-this-erb-code/110039)

<div class="topic-metadata">

**Author:** [@vfcforums](https://www.ruby-forum.com/u/vfcforums)\
**Replies:** 1\
**Last updated:** [July 21, 2007, 10:19pm UTC](https://www.ruby-forum.com/t/help-needed-with-this-erb-code/110039 "2007-07-21T22:19:30Z")

</div>

Is there any code in this ERB snippet that causes text after the EOF to be included in the template. Unless my understanding of ERB is inadequate there has to be some bug in it. It has me at my wit’s end. ==========…

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

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