# Ruby

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

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

---

## [Newbie problem: ArgumentError when creating subclass](https://www.ruby-forum.com/t/newbie-problem-argumenterror-when-creating-subclass/90908)

<div class="topic-metadata">

**Author:** [@Dan\_Stevens\_SIAmAI](https://www.ruby-forum.com/u/Dan_Stevens_SIAmAI)\
**Replies:** 4\
**Last updated:** [April 3, 2007, 12:32am UTC](https://www.ruby-forum.com/t/newbie-problem-argumenterror-when-creating-subclass/90908 "2007-04-03T00:32:57Z")

</div>

Could someone explain why the following code raises ArgumentError. Thanks. class SuperClass def initialize #Make sure you spell ‘initialize’ correctly! @my\_attr = 1 end attr\_reader :my\_attr end class SubClass \< S…

---

## [Nested Modules/Classes](https://www.ruby-forum.com/t/nested-modules-classes/90911)

<div class="topic-metadata">

**Author:** [@kennyd](https://www.ruby-forum.com/u/kennyd)\
**Replies:** 7\
**Last updated:** [April 2, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/nested-modules-classes/90911 "2007-04-02T23:55:55Z")

</div>

I have what I feel should be a simple issue. Look at the following: ############################ Test of nested modules/classes ############################ class Global module TestMod TEST = “test1” def print\_tes…

---

## [Rtagstask](https://www.ruby-forum.com/t/rtagstask/90883)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 11:42pm UTC](https://www.ruby-forum.com/t/rtagstask/90883 "2007-04-02T23:42:53Z")

</div>

== What is it? == rtagstask is a Rake task for automating the use of rtags\[1\]. It supports generating both vi- and emacs-compatible tag files. == Usage == Rakefile require ‘rtagstask’ RTagsTask.new do |t| # if you…

---

## [Using transactions with secondary indexes in bdb](https://www.ruby-forum.com/t/using-transactions-with-secondary-indexes-in-bdb/90809)

<div class="topic-metadata">

**Author:** [@Jim\_Cain](https://www.ruby-forum.com/u/Jim_Cain)\
**Replies:** 4\
**Last updated:** [April 2, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/using-transactions-with-secondary-indexes-in-bdb/90809 "2007-04-02T23:09:49Z")

</div>

I’m having trouble figuring out how to do transactions. I’m using db 4.5.40 from Oracle and bdb 0.6.0. Here’s a code snippet: require ‘bdb’ BDB::Hash.open(‘models.db’, nil, BDB::TRUNCATE) {} BDB::Hash.open(‘makes.db’…

---

## [The Rubyw.exe Thread](https://www.ruby-forum.com/t/the-rubyw-exe-thread/90878)

<div class="topic-metadata">

**Author:** [@R.E](https://www.ruby-forum.com/u/R.E)\
**Replies:** 11\
**Last updated:** [April 2, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/the-rubyw-exe-thread/90878 "2007-04-02T23:02:45Z")

</div>

I’ve looked at the FAQ, Ruby Docs, and Google on how to fix rubyw.exe for Win XP and there is no help at all. I’ve tried i’ve seen and nothing works. I have downloed both the one step install version AND the ZIP file …

---

## [Bug in Bignum.to\_s (1.8.6 only)](https://www.ruby-forum.com/t/bug-in-bignum-to-s-1-8-6-only/90742)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 3\
**Last updated:** [April 2, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/bug-in-bignum-to-s-1-8-6-only/90742 "2007-04-02T22:59:45Z")

</div>

Hello all, Just making a quick note of a bug we found in Bignum.to\_s in Ruby 1.8.6, in case it burns anyone else. Examples: irb(main):001:0\> 18446744073709551615.to\_s(36) # should be “3w5e11264sgsf” =\> “w5e11264sg…

---

## [Fwd: Please Forward: Ruby Quiz Submission](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229134)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 9:08pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-ruby-quiz-submission/229134 "2007-04-02T21:08:13Z")

</div>

Begin forwarded message:

---

## [Folder delete script](https://www.ruby-forum.com/t/folder-delete-script/90890)

<div class="topic-metadata">

**Author:** [@Gus\_H](https://www.ruby-forum.com/u/Gus_H)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/folder-delete-script/90890 "2007-04-02T20:18:06Z")

</div>

Hi. I am a rubyn00b. I need help. I’m trying to write a script that will delete specific sub folders in a particular folder. I would like to delete all folders that begin with lets say the letter “T” that are two week…

---

## [Need help for woman in Austin](https://www.ruby-forum.com/t/need-help-for-woman-in-austin/90885)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 7:17pm UTC](https://www.ruby-forum.com/t/need-help-for-woman-in-austin/90885 "2007-04-02T19:17:00Z")

</div>

She is bedridden and want to ship a package to me in Columbus, Ohio. Need someone to drive over to her house …pick up small object and mail to me. Will pay for all expenses and whatever person wants. Need object rapi…

---

## [Map Or Collect Redux](https://www.ruby-forum.com/t/map-or-collect-redux/90861)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 10\
**Last updated:** [April 2, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/map-or-collect-redux/90861 "2007-04-02T19:15:59Z")

</div>

Looking in the old archives of ruby-talk I found a thread in 2005 about using map or collect. As far as I know there is not difference between the two methods. I would like to know what everyone’s preference is? I li…

---

## [Using Tk in Ruby 185](https://www.ruby-forum.com/t/using-tk-in-ruby-185/84385)

<div class="topic-metadata">

**Author:** [@uberalles](https://www.ruby-forum.com/u/uberalles)\
**Replies:** 5\
**Last updated:** [April 2, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/using-tk-in-ruby-185/84385 "2007-04-02T18:19:56Z")

</div>

Hello all together, today I upgrade from Ruby 1.82 to 1.85-21, I installed it under windows with the one-click-installer. Most of my previous work works without a change, but I cannot get Tk working. Let me explain wh…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/90873)

<div class="topic-metadata">

**Author:** [@Gus\_H](https://www.ruby-forum.com/u/Gus_H)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/no-subject/90873 "2007-04-02T18:05:49Z")

</div>

subscribe G-style

---

## [Test](https://www.ruby-forum.com/t/test/90863)

<div class="topic-metadata">

**Author:** [@Byung-Hee\_HWANG](https://www.ruby-forum.com/u/Byung-Hee_HWANG)\
**Replies:** 1\
**Last updated:** [April 2, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/test/90863 "2007-04-02T16:00:37Z")

</div>

test mail, so please ignore;;

---

## [How to use standard library?](https://www.ruby-forum.com/t/how-to-use-standard-library/90777)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 17\
**Last updated:** [April 2, 2007, 3:32pm UTC](https://www.ruby-forum.com/t/how-to-use-standard-library/90777 "2007-04-02T15:32:55Z")

</div>

Hello, I’m looking at URI class http://www.ruby-doc.org/stdlib/libdoc/uri/rdoc/index.html The interface is somehow confusing? I tried to write url = uri.new url.parse!(‘http://www.test.com’) but this give me error…

---

## [JSON Parser](https://www.ruby-forum.com/t/json-parser/90834)

<div class="topic-metadata">

**Author:** [@rama](https://www.ruby-forum.com/u/rama)\
**Replies:** 12\
**Last updated:** [April 2, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/json-parser/90834 "2007-04-02T15:31:57Z")

</div>

I am getting my data in JSON format, how can i validate or Parse JSON data in rails. Please help me, Thanks & Regards, Rama

---

## [Workaround for 1.8.6 with CommandLine](https://www.ruby-forum.com/t/workaround-for-1-8-6-with-commandline/90631)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 7\
**Last updated:** [April 2, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/workaround-for-1-8-6-with-commandline/90631 "2007-04-02T15:11:23Z")

</div>

Hello If you are using ruby-1.8.6, you may have noticed a bug where exit always returns 0 when called from within an at\_exit block. You can test this on your machine with the following little snippet: ruby -e ‘at\_e…

---

## [Trollop 1.5 Released](https://www.ruby-forum.com/t/trollop-1-5-released/90766)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 3\
**Last updated:** [April 2, 2007, 11:36am UTC](https://www.ruby-forum.com/t/trollop-1-5-released/90766 "2007-04-02T11:36:46Z")

</div>

Trollop version 1.5 has been released! http://trollop.rubyforge.org Trollop is YAFCLAP — yet another fine commandline argument processing library for Ruby. Trollop is designed to provide the maximal amount of GNU-sty…

---

## [How to use Chinese Characters in wxRuby?](https://www.ruby-forum.com/t/how-to-use-chinese-characters-in-wxruby/90732)

<div class="topic-metadata">

**Author:** [@yang\_cao](https://www.ruby-forum.com/u/yang_cao)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 10:36am UTC](https://www.ruby-forum.com/t/how-to-use-chinese-characters-in-wxruby/90732 "2007-04-02T10:36:40Z")

</div>

I want to use Chinese characters in wxRuby,like this: Wx::Button.new(@panel,-1,‘Chinese characters wanted to be placed’) also in Chinese is: Wx::Button.new(@panel,-1,‘æ±‰å­—’) but I get an empty button… how can I do…

---

## [What is BASERUBY?](https://www.ruby-forum.com/t/what-is-baseruby/90633)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 8:21am UTC](https://www.ruby-forum.com/t/what-is-baseruby/90633 "2007-04-02T08:21:13Z")

</div>

in order to install YARV i do have to configure my sheel with BASERUBY being my base ruby command. does it means it is the base of ruby bin ie : $ which ruby /opt/local/bin/ruby in that case BASERUBY would be /opt/l…

---

## [Nested hash / openstruct question](https://www.ruby-forum.com/t/nested-hash-openstruct-question/90822)

<div class="topic-metadata">

**Author:** [@Pugal\_P](https://www.ruby-forum.com/u/Pugal_P)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 7:58am UTC](https://www.ruby-forum.com/t/nested-hash-openstruct-question/90822 "2007-04-02T07:58:10Z")

</div>

Hello, I am a newbie to Ruby. I am having trouble reading the entries from nested yaml configuration file. Any help would be highly appreciated. YAML configuration file: AppName: Record Center DEV: user: test web…

---

## [Sup 0.0.8 Released](https://www.ruby-forum.com/t/sup-0-0-8-released/90836)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 7:51am UTC](https://www.ruby-forum.com/t/sup-0-0-8-released/90836 "2007-04-02T07:51:09Z")

</div>

Sup version 0.0.8 has been released! http://sup.rubyforge.org Sup is a console-based email client that combines the best features of GMail, mutt, and emacs. Sup matches the power of GMail with the speed and simplicit…

---

## [Gems Issue](https://www.ruby-forum.com/t/gems-issue/88505)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [April 2, 2007, 6:31am UTC](https://www.ruby-forum.com/t/gems-issue/88505 "2007-04-02T06:31:06Z")

</div>

Hello: I’m trying to install a gem package, but its not working. Here’s what I see: C:\>“c:\\ruby\\bin\\ruby.exe” “c:\\ruby\\bin\\gem” install --remote ruby- activeldap Attempting remote installation of ‘ruby-activeldap’ …

---

## [LittleCoder 0.4](https://www.ruby-forum.com/t/littlecoder-0-4/90711)

<div class="topic-metadata">

**Author:** [@Harold\_H](https://www.ruby-forum.com/u/Harold_H)\
**Replies:** 7\
**Last updated:** [April 2, 2007, 6:15am UTC](https://www.ruby-forum.com/t/littlecoder-0-4/90711 "2007-04-02T06:15:03Z")

</div>

Hello all, http://www.danceliquid.com/LittleCoder/ Years ago, \_why wrote an article titled “The Little Coder’s Predicament” where he suggests that it’s a problem that programming is not as accessible as it was in the…

---

## [Solution: Microwave Numbers (#118)](https://www.ruby-forum.com/t/solution-microwave-numbers-118/90790)

<div class="topic-metadata">

**Author:** [@lazukars](https://www.ruby-forum.com/u/lazukars)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 5:18am UTC](https://www.ruby-forum.com/t/solution-microwave-numbers-118/90790 "2007-04-02T05:18:57Z")

</div>

Well much like my recent return to posting on the O’Reilly Ruby blog, I couldn’t resist getting back into the Ruby Q. fray. I’m pretty pleased with my solution. I developed it test first and implemented all the “extra…

---

## [Fwd: Solution to #118](https://www.ruby-forum.com/t/fwd-solution-to-118/229115)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 5:13am UTC](https://www.ruby-forum.com/t/fwd-solution-to-118/229115 "2007-04-02T05:13:57Z")

</div>

Begin forwarded message:

---

## [The Hideout is open](https://www.ruby-forum.com/t/the-hideout-is-open/90555)

<div class="topic-metadata">

**Author:** [@S\_ugly](https://www.ruby-forum.com/u/S_ugly)\
**Replies:** 1\
**Last updated:** [April 2, 2007, 4:06am UTC](https://www.ruby-forum.com/t/the-hideout-is-open/90555 "2007-04-02T04:06:53Z")

</div>

finally had some time to write a rails app, man, this stuff is fun, i love ruby and rails: http://crookedhideout.com/

---

## [Rails plugin: click\_track 0.1 released](https://www.ruby-forum.com/t/rails-plugin-click-track-0-1-released/102735)

<div class="topic-metadata">

**Author:** [@S\_ugly](https://www.ruby-forum.com/u/S_ugly)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 4:05am UTC](https://www.ruby-forum.com/t/rails-plugin-click-track-0-1-released/102735 "2007-04-02T04:05:53Z")

</div>

This plugin adds simple click tracking to any controller in you rails application. http://crookedhideout.com/blog\_entry/show/8

---

## [PRuby 1.0](https://www.ruby-forum.com/t/pruby-1-0/90810)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 3\
**Last updated:** [April 2, 2007, 2:48am UTC](https://www.ruby-forum.com/t/pruby-1-0/90810 "2007-04-02T02:48:50Z")

</div>

== Background == Most of my life has been eaten by Ruport lately, I haven’t even had a chance to play around with any of the alternative implementations of Ruby out there! I did some looking around and it seems like …

---

## [\[ANN\] Ruby Hoedown 2007 - Invited Speakers Announcement and](https://www.ruby-forum.com/t/ann-ruby-hoedown-2007-invited-speakers-announcement-and/90820)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 0\
**Last updated:** [April 2, 2007, 1:48am UTC](https://www.ruby-forum.com/t/ann-ruby-hoedown-2007-invited-speakers-announcement-and/90820 "2007-04-02T01:48:46Z")

</div>

Hello all, We have two exciting announcements for you today: First, two speakers have graciously accepted our invitation to come speak: Marcel Molina Jr. and Bruce Tate. Marcel is a Rails core team member, regular ht…

---

## [Micrrowave Numbers (#118)](https://www.ruby-forum.com/t/micrrowave-numbers-118/90628)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 21\
**Last updated:** [April 2, 2007, 1:32am UTC](https://www.ruby-forum.com/t/micrrowave-numbers-118/90628 "2007-04-02T01:32:45Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

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

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