# Ruby

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

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

---

## [Pinewood Derby Chart (#56)](https://www.ruby-forum.com/t/pinewood-derby-chart-56/48859)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 2\
**Last updated:** [November 30, 2005, 6:02am UTC](https://www.ruby-forum.com/t/pinewood-derby-chart-56/48859 "2005-11-30T06:02:05Z")

</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: …

---

## [Random gauss numbers?](https://www.ruby-forum.com/t/random-gauss-numbers/49118)

<div class="topic-metadata">

**Author:** [@uval](https://www.ruby-forum.com/u/uval)\
**Replies:** 2\
**Last updated:** [November 30, 2005, 5:49am UTC](https://www.ruby-forum.com/t/random-gauss-numbers/49118 "2005-11-30T05:49:57Z")

</div>

Hello all, how can I generate random Gaussian distributed numbers? something like Gauss(mean, sigma) thx in advance Daniel

---

## [Action Profiler 1.0.0](https://www.ruby-forum.com/t/action-profiler-1-0-0/79396)

<div class="topic-metadata">

**Author:** [@drbrain](https://www.ruby-forum.com/u/drbrain)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 11:30pm UTC](https://www.ruby-forum.com/t/action-profiler-1-0-0/79396 "2005-11-29T23:30:42Z")

</div>

= Action Profiler Full Documentation: http://rails-analyzer.rubyforge.org/action\_profiler Rubyforge Project: http://rubyforge.org/projects/rails-analyzer == About Action Profiler allows you to profile a single Rail…

---

## [Cgi.rb](https://www.ruby-forum.com/t/cgi-rb/79203)

<div class="topic-metadata">

**Author:** [@akonsu](https://www.ruby-forum.com/u/akonsu)\
**Replies:** 1\
**Last updated:** [November 29, 2005, 9:45pm UTC](https://www.ruby-forum.com/t/cgi-rb/79203 "2005-11-29T21:45:41Z")

</div>

Hello, i am looking at cgi.rb module, and it looks like it produces valid HTTP responses such as HTTP/1.1 404 Not Found Date: Tue, 29 Nov 2005 06:52:21 GMT\\r\\n Content-Length: 0\\r\\n Connection: close\\r\\n Content-T…

---

## [File.new and encoding](https://www.ruby-forum.com/t/file-new-and-encoding/49080)

<div class="topic-metadata">

**Author:** [@achim.domma](https://www.ruby-forum.com/u/achim.domma)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 8:36pm UTC](https://www.ruby-forum.com/t/file-new-and-encoding/49080 "2005-11-29T20:36:32Z")

</div>

Hi, I’m still quite new to ruby, but have written a simple code generator. The generator opens some files and combines them to a new one. The resulting file is encoded as iso-8859-1, but it looks like ruby writes an …

---

## [FXRuby 1.4 doesn't compile on Mandrake Linux](https://www.ruby-forum.com/t/fxruby-1-4-doesnt-compile-on-mandrake-linux/49077)

<div class="topic-metadata">

**Author:** [@guslist](https://www.ruby-forum.com/u/guslist)\
**Replies:** 1\
**Last updated:** [November 29, 2005, 5:34pm UTC](https://www.ruby-forum.com/t/fxruby-1-4-doesnt-compile-on-mandrake-linux/49077 "2005-11-29T17:34:23Z")

</div>

I get the following error: $ sudo gem install fxruby Attempting local installation of ‘fxruby’ Local gem file not found: fxruby\*.gem Attempting remote installation of ‘fxruby’ Updating Gem source index for: http://g…

---

## [Oafer42](https://www.ruby-forum.com/t/oafer42/77366)

<div class="topic-metadata">

**Author:** [@kvanderauwera](https://www.ruby-forum.com/u/kvanderauwera)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 3:41pm UTC](https://www.ruby-forum.com/t/oafer42/77366 "2005-11-29T15:41:05Z")

</div>

At second thought, I think it’s better to send it to Ruby-talk :wink: See message below. ---------- Forwarded message ---------- From: Koen Van der Auwera removed\_email\_address@domain.invalid Date: Nov 29, 2005 1:27 …

---

## [Re: string range membership](https://www.ruby-forum.com/t/re-string-range-membership/76661)

<div class="topic-metadata">

**Author:** [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 2:48pm UTC](https://www.ruby-forum.com/t/re-string-range-membership/76661 "2005-11-29T14:48:23Z")

</div>

Matz, What about Range#include?? Would it still be an alias for Range#member?, or would it retain the current interval check? No decided yet. Feel free to say your opinion. Well, I tend to agree with your prev…

---

## [Unknown node type 0](https://www.ruby-forum.com/t/unknown-node-type-0/49062)

<div class="topic-metadata">

**Author:** [@wybo](https://www.ruby-forum.com/u/wybo)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 1:11pm UTC](https://www.ruby-forum.com/t/unknown-node-type-0/49062 "2005-11-29T13:11:24Z")

</div>

I’m getting the error message; /usr/local/lib/ruby/1.8/date/format.rb:598: \[BUG\] unknown node type 0 ruby 1.8.3 (2005-09-21) \[i686-linux\] Aborted This has been reported earlier: http://rubyforge.org/tracker/index.ph…

---

## [What's up with DamageControl](https://www.ruby-forum.com/t/whats-up-with-damagecontrol/49065)

<div class="topic-metadata">

**Author:** [@damphyr](https://www.ruby-forum.com/u/damphyr)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 1:11pm UTC](https://www.ruby-forum.com/t/whats-up-with-damagecontrol/49065 "2005-11-29T13:11:24Z")

</div>

Does anyone know in which state DamageControl finds itself? I get the impression of it being in limbo after RubyConf. Is anyone working furiously to catch up to DHH’s Rails changes so that basic DamageControl work is …

---

## [Re: unknown node type 0](https://www.ruby-forum.com/t/re-unknown-node-type-0/76962)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 12:55pm UTC](https://www.ruby-forum.com/t/re-unknown-node-type-0/76962 "2005-11-29T12:55:12Z")

</div>

ts \[mailto:removed\_email\_address@domain.invalid\] humbly wrote: The stable snapshot is an 1.8.4 #moulon% grep RUBY\_VERSION version.h ##define RUBY\_VERSION “1.8.4” ##define RUBY\_VERSION\_CODE 184 ##define RUBY\_VERSION…

---

## [Re: unknown node type 0](https://www.ruby-forum.com/t/re-unknown-node-type-0/49061)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 1\
**Last updated:** [November 29, 2005, 12:38pm UTC](https://www.ruby-forum.com/t/re-unknown-node-type-0/49061 "2005-11-29T12:38:57Z")

</div>

\#sir, how different is this w the 1.8.3 nightly stable snapshots? i meant the stable snapshot. sorry.

---

## [Re: unknown node type 0](https://www.ruby-forum.com/t/re-unknown-node-type-0/76925)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 12:18pm UTC](https://www.ruby-forum.com/t/re-unknown-node-type-0/76925 "2005-11-29T12:18:41Z")

</div>

ts \[mailto:removed\_email\_address@domain.invalid\] said: ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4-preview1.tar.gz sir, how different is this w the 1.8.3 nightly stable snapshots? kind regards -botp #Guy Decoux

---

## [Bluetooth on OSX](https://www.ruby-forum.com/t/bluetooth-on-osx/49046)

<div class="topic-metadata">

**Author:** [@rictic](https://www.ruby-forum.com/u/rictic)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 11:34am UTC](https://www.ruby-forum.com/t/bluetooth-on-osx/49046 "2005-11-29T11:34:10Z")

</div>

I’m looking to automate transferring pics from a cellphone via bluetooth on OS X. Any suggestions on where to start with this project? Ruby is the natural language for this, not just because I love it so dearly, but …

---

## [AOP in Ruby](https://www.ruby-forum.com/t/aop-in-ruby/75755)

<div class="topic-metadata">

**Author:** [@markcollinscope](https://www.ruby-forum.com/u/markcollinscope)\
**Replies:** 10\
**Last updated:** [November 29, 2005, 9:28am UTC](https://www.ruby-forum.com/t/aop-in-ruby/75755 "2005-11-29T09:28:26Z")

</div>

Hi there, I was wondering if there is any support (in the form of frameworks or whatever) for AOP in Ruby? Ciao, Mark.

---

## [Rails Web Service: Convert Parameter to Class Method Call?](https://www.ruby-forum.com/t/rails-web-service-convert-parameter-to-class-method-call/48977)

<div class="topic-metadata">

**Author:** [@craigjordanlaw](https://www.ruby-forum.com/u/craigjordanlaw)\
**Replies:** 4\
**Last updated:** [November 29, 2005, 7:43am UTC](https://www.ruby-forum.com/t/rails-web-service-convert-parameter-to-class-method-call/48977 "2005-11-29T07:43:28Z")

</div>

I’m trying to write a method for a web service that will find objects from a user specified table, i.e. find all Widgets added in last 7 days, or find all Whatsits whose name starts with Q. I could right a separate m…

---

## [Og relations questions](https://www.ruby-forum.com/t/og-relations-questions/49043)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 1\
**Last updated:** [November 29, 2005, 5:38am UTC](https://www.ruby-forum.com/t/og-relations-questions/49043 "2005-11-29T05:38:09Z")

</div>

What are the parameter signatures of the has\_many etc. macros? The docs (and code) just takes \*args, so it’s hard to figure out. How can I do the following? Specifically, how can I name the inverse “belongs\_to” disti…

---

## [Ruport 0.2.9: Taggable DataSets, FasterCSV integration, and](https://www.ruby-forum.com/t/ruport-0-2-9-taggable-datasets-fastercsv-integration-and/49041)

<div class="topic-metadata">

**Author:** [@gregory.t.brown](https://www.ruby-forum.com/u/gregory.t.brown)\
**Replies:** 0\
**Last updated:** [November 29, 2005, 4:53am UTC](https://www.ruby-forum.com/t/ruport-0-2-9-taggable-datasets-fastercsv-integration-and/49041 "2005-11-29T04:53:46Z")

</div>

Hello again, Seeing as it’s been more than 3 days since the last Ruport release, I felt the need to really supe this one up. With a brand new set of examples, a 666 line walkthrough, 16 entries on the changelog and a …

---

## [Mac OS X TK](https://www.ruby-forum.com/t/mac-os-x-tk/102495)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 27\
**Last updated:** [November 29, 2005, 4:53am UTC](https://www.ruby-forum.com/t/mac-os-x-tk/102495 "2005-11-29T04:53:46Z")

</div>

Is it possible to get a pure aqua TK running through Ruby on Mac OS X? Can anyone point me to the steps? James Edward G. II

---

## [String substitution question](https://www.ruby-forum.com/t/string-substitution-question/48983)

<div class="topic-metadata">

**Author:** [@ljw1001](https://www.ruby-forum.com/u/ljw1001)\
**Replies:** 9\
**Last updated:** [November 29, 2005, 2:28am UTC](https://www.ruby-forum.com/t/string-substitution-question/48983 "2005-11-29T02:28:35Z")

</div>

I’m reading a file using: " str = IO.read(“textfile1.txt”) " and trying to output the results using " puts str " The problem is that I want to substitute values in the file. It includes this text: #{(3+4).to\_s} I …

---

## [Question on class-declarations](https://www.ruby-forum.com/t/question-on-class-declarations/49028)

<div class="topic-metadata">

**Author:** [@iamkris](https://www.ruby-forum.com/u/iamkris)\
**Replies:** 3\
**Last updated:** [November 29, 2005, 1:36am UTC](https://www.ruby-forum.com/t/question-on-class-declarations/49028 "2005-11-29T01:36:12Z")

</div>

Yet Another Ruby N. (YARN) question. I see Rails makes extensive use of class-declarations. For example: class LineItem \< ActiveRecord::Base belongs\_to :product … belongs\_to is a class-declaration in the above code…

---

## [String#to\_rx?](https://www.ruby-forum.com/t/string-to-rx/99977)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 34\
**Last updated:** [November 29, 2005, 1:20am UTC](https://www.ruby-forum.com/t/string-to-rx/99977 "2005-11-29T01:20:05Z")

</div>

Possible RCR: would anyone else find this a useful addition to the core class String def to\_rx Regexp.new( Regexp.escape(self) ) end end as a more straightforward & readable alternative to interpolation: /#{Regexp…

---

## [Newsgroup software](https://www.ruby-forum.com/t/newsgroup-software/50698)

<div class="topic-metadata">

**Author:** [@ngoc](https://www.ruby-forum.com/u/ngoc)\
**Replies:** 4\
**Last updated:** [November 28, 2005, 11:35pm UTC](https://www.ruby-forum.com/t/newsgroup-software/50698 "2005-11-28T23:35:06Z")

</div>

Hi I currently use Mozilla newsgroup software. I want to be more active in some newsgroups, among them Ruby. So a good newsgroup software is neccessary. I do not satisfy with Mozilla. Because after I click on message…

---

## [Problem fetching web-page](https://www.ruby-forum.com/t/problem-fetching-web-page/49022)

<div class="topic-metadata">

**Author:** [@james.mulholland](https://www.ruby-forum.com/u/james.mulholland)\
**Replies:** 3\
**Last updated:** [November 28, 2005, 10:10pm UTC](https://www.ruby-forum.com/t/problem-fetching-web-page/49022 "2005-11-28T22:10:07Z")

</div>

I’m not sure if this is the best place to ask this, but I hope someone will be able to help, or at least point me somewhere else. I’ve written a screen-scrapper (in Perl) for digg.com. It uses HTTP::Lite to retrieve t…

---

## [Object access heirarchies](https://www.ruby-forum.com/t/object-access-heirarchies/48966)

<div class="topic-metadata">

**Author:** [@leslie](https://www.ruby-forum.com/u/leslie)\
**Replies:** 9\
**Last updated:** [November 28, 2005, 9:01pm UTC](https://www.ruby-forum.com/t/object-access-heirarchies/48966 "2005-11-28T21:01:25Z")

</div>

I often have this problem in my projects. I have a bunch of classes to do various things in my program, but once instantiated they each need access to each other. For example, in the adventure game I am working on, I …

---

## [Upgrading Rails and existing apps](https://www.ruby-forum.com/t/upgrading-rails-and-existing-apps/49020)

<div class="topic-metadata">

**Author:** [@matt.kilbride](https://www.ruby-forum.com/u/matt.kilbride)\
**Replies:** 1\
**Last updated:** [November 28, 2005, 8:33pm UTC](https://www.ruby-forum.com/t/upgrading-rails-and-existing-apps/49020 "2005-11-28T20:33:12Z")

</div>

I have been wondering what tasks, if any, need to be performed on existing Rails apps following a Rails upgrade. Is all the code for my app self-contained in the app directory? I haven’t found any information on thi…

---

## [Float precision and FIT](https://www.ruby-forum.com/t/float-precision-and-fit/49017)

<div class="topic-metadata">

**Author:** [@ed.howland](https://www.ruby-forum.com/u/ed.howland)\
**Replies:** 5\
**Last updated:** [November 28, 2005, 8:12pm UTC](https://www.ruby-forum.com/t/float-precision-and-fit/49017 "2005-11-28T20:12:55Z")

</div>

Hello, I am trying to get the Division example on the FIT wiki http://fit.c2.com/wiki.cgi?WhatAndHowTalk to run under Ruby and the Fit framework. I have 2 questions. First I get red results on last 3 tests because th…

---

## [Installing on RHEL 4 64bit](https://www.ruby-forum.com/t/installing-on-rhel-4-64bit/49016)

<div class="topic-metadata">

**Author:** [@Neruocomp](https://www.ruby-forum.com/u/Neruocomp)\
**Replies:** 0\
**Last updated:** [November 28, 2005, 7:24pm UTC](https://www.ruby-forum.com/t/installing-on-rhel-4-64bit/49016 "2005-11-28T19:24:20Z")

</div>

I used the rpms to install ruby but couldn’t get gem to work because of a bug in ruby-1.8.1 so I decided to install from the source. I let it install in /usr/local but told it to install libs in /usr/local/lib64 or …

---

## [System() on windows](https://www.ruby-forum.com/t/system-on-windows/50075)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 12\
**Last updated:** [November 28, 2005, 6:47pm UTC](https://www.ruby-forum.com/t/system-on-windows/50075 "2005-11-28T18:47:46Z")

</div>

I’m trying to figure out why a particular system command is returning false on windows. This works fine and returns true: res = system(‘dir’) This returns false with $? being nil: res = system(‘rake’) if I just run…

---

## [Re: string range membership](https://www.ruby-forum.com/t/re-string-range-membership/76659)

<div class="topic-metadata">

**Author:** [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Replies:** 1\
**Last updated:** [November 28, 2005, 6:35pm UTC](https://www.ruby-forum.com/t/re-string-range-membership/76659 "2005-11-28T18:35:40Z")

</div>

Matz, I’m vaguely thinking of changing #member? back to membership check, with performance optimization for numbers. Yay! What about Range#include?? Would it still be an alias for Range#member?, or would it reta…

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

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