# Ruby

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

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

---

## [Memcache-client 1.2.0 Released](https://www.ruby-forum.com/t/memcache-client-1-2-0-released/72560)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [October 18, 2006, 2:23am UTC](https://www.ruby-forum.com/t/memcache-client-1-2-0-released/72560 "2006-10-18T02:23:07Z")

</div>

memcache-client version 1.2.0 has been released! http://dev.robotcoop.com/Libraries/memcache-client memcache-client is a pure-ruby client to Danga’s memcached. Changes: = 1.2.0 NOTE: This version will store keys in …

---

## [Upgrading ruby version - is there a command line/gems upgrad](https://www.ruby-forum.com/t/upgrading-ruby-version-is-there-a-command-line-gems-upgrad/72383)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 2:21am UTC](https://www.ruby-forum.com/t/upgrading-ruby-version-is-there-a-command-line-gems-upgrad/72383 "2006-10-18T02:21:07Z")

</div>

\*Hi, Re upgrading to the latest version of Ruby is there a command line / gems type upgrade approach, or do I need to download the “\*Ruby 1.8.5 One-Click Installer http://rubyforge.org/frs/download.php/12751/ruby18…

---

## [Newbie Help request on Freeride Debugger](https://www.ruby-forum.com/t/newbie-help-request-on-freeride-debugger/72374)

<div class="topic-metadata">

**Author:** [@snoopy](https://www.ruby-forum.com/u/snoopy)\
**Replies:** 1\
**Last updated:** [October 18, 2006, 2:12am UTC](https://www.ruby-forum.com/t/newbie-help-request-on-freeride-debugger/72374 "2006-10-18T02:12:14Z")

</div>

Looking for help/guidance on how to use the Freeride debugger. As a newbie, how do I use it to step through my code, set breakpoints, etc. I need the basics to get started. I mean absolute basics of what to do after…

---

## [Merb, Mongrel+Erb](https://www.ruby-forum.com/t/merb-mongrel-erb/72559)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 0\
**Last updated:** [October 18, 2006, 2:01am UTC](https://www.ruby-forum.com/t/merb-mongrel-erb/72559 "2006-10-18T02:01:07Z")

</div>

Hey there folks- I'm happy to announce the first useable release of my new pocket- framework Merb. Merb is a mongrel handler with built in controller and view templating with erb. It has a nice routing system similar …

---

## [Gem "before" and "after" filters?](https://www.ruby-forum.com/t/gem-before-and-after-filters/72557)

<div class="topic-metadata">

**Author:** [@Pau\_Garcia\_i\_Quiles](https://www.ruby-forum.com/u/Pau_Garcia_i_Quiles)\
**Replies:** 1\
**Last updated:** [October 18, 2006, 1:57am UTC](https://www.ruby-forum.com/t/gem-before-and-after-filters/72557 "2006-10-18T01:57:06Z")

</div>

Hello, I am trying to build a gem and I need to do some pre-processing (creating a file) before I can create my rdoc’s and some cleaning (erasing that file) after I create it. Running something before building the …

---

## [AJAX jobs at a Top NY newspaper](https://www.ruby-forum.com/t/ajax-jobs-at-a-top-ny-newspaper/72555)

<div class="topic-metadata">

**Author:** [@John\_Dufour](https://www.ruby-forum.com/u/John_Dufour)\
**Replies:** 0\
**Last updated:** [October 18, 2006, 1:21am UTC](https://www.ruby-forum.com/t/ajax-jobs-at-a-top-ny-newspaper/72555 "2006-10-18T01:21:04Z")

</div>

AJAX Consultant Top NY newspaper is seeking a candidate who is confident about building and extending a personalization platform for xxxx.com, a site with an unparalleled combination of scale and complexity. You have …

---

## [Include inside and outside classes](https://www.ruby-forum.com/t/include-inside-and-outside-classes/72168)

<div class="topic-metadata">

**Author:** [@John\_Ky](https://www.ruby-forum.com/u/John_Ky)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 1:09am UTC](https://www.ruby-forum.com/t/include-inside-and-outside-classes/72168 "2006-10-18T01:09:03Z")

</div>

Hi, Why is it that when I can do this: include Math puts sqrt(169) I can’t do this?: class X include Math puts sqrt(169) end Does include do different things depending on where it is use? Is it even the sa…

---

## [I don't even know what to ask for](https://www.ruby-forum.com/t/i-dont-even-know-what-to-ask-for/72384)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [October 18, 2006, 12:51am UTC](https://www.ruby-forum.com/t/i-dont-even-know-what-to-ask-for/72384 "2006-10-18T00:51:02Z")

</div>

I have a command line shell that I plan to run over and over again. It’s base functionality is to accept a list of files names and a file name containing the logic to be applied to the contents of said files. My shell…

---

## [Job Senior PHP 5 Web Developer - NYC](https://www.ruby-forum.com/t/job-senior-php-5-web-developer-nyc/72552)

<div class="topic-metadata">

**Author:** [@John\_Dufour](https://www.ruby-forum.com/u/John_Dufour)\
**Replies:** 0\
**Last updated:** [October 18, 2006, 12:51am UTC](https://www.ruby-forum.com/t/job-senior-php-5-web-developer-nyc/72552 "2006-10-18T00:51:02Z")

</div>

Senior PHP 5 Web D. Client is a dynamic, cutting-edge media company that specializes in up-to-the-minute publishing of travel deals, destination information, and advice. We are expanding rapidly as millions of reader…

---

## [Connecting to excel via Rubi DBI](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 17, 2006, 11:40pm UTC](https://www.ruby-forum.com/t/connecting-to-excel-via-rubi-dbi/72207 "2006-10-17T23:40:56Z")

</div>

Hi, is there a possibility to connect to excel file using dbi module?

---

## [Splitting a sentence with delimiter preserved](https://www.ruby-forum.com/t/splitting-a-sentence-with-delimiter-preserved/72538)

<div class="topic-metadata">

**Author:** [@Ajithkumar\_Warrier](https://www.ruby-forum.com/u/Ajithkumar_Warrier)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 10:26pm UTC](https://www.ruby-forum.com/t/splitting-a-sentence-with-delimiter-preserved/72538 "2006-10-17T22:26:36Z")

</div>

Hi, I am a newbie and the answer to this might be too simple. How do I improve the example below and reduce the number of passes over the string? string = “This is an example string. The purpose is to save the del…

---

## [Ruby way to say this?](https://www.ruby-forum.com/t/ruby-way-to-say-this/72531)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 12\
**Last updated:** [October 17, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/ruby-way-to-say-this/72531 "2006-10-17T22:22:35Z")

</div>

In Ruby, zero isn’t false and there is no equivalent of the ?: operator with the middle term omitted. So e.g. I’d like to say \[pseudo-code from some other language\]: oneThing()?:otherThing() meaning, if oneThing is n…

---

## [Re: ruby way to say this?](https://www.ruby-forum.com/t/re-ruby-way-to-say-this/72534)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 9:50pm UTC](https://www.ruby-forum.com/t/re-ruby-way-to-say-this/72534 "2006-10-17T21:50:31Z")

</div>

From: Louis J Scoras \[mailto:removed\_email\_address@domain.invalid\] So your original would look like: # if\_zero(one\_thing, other\_thing) Let’s make that more OO-pretty (using a goofy name): class Numeric def or\_if\_z…

---

## [Wiki.rubyonrails.org spam](https://www.ruby-forum.com/t/wiki-rubyonrails-org-spam/72510)

<div class="topic-metadata">

**Author:** [@arjackson](https://www.ruby-forum.com/u/arjackson)\
**Replies:** 5\
**Last updated:** [October 17, 2006, 7:59pm UTC](https://www.ruby-forum.com/t/wiki-rubyonrails-org-spam/72510 "2006-10-17T19:59:56Z")

</div>

Hi, Who’s in charge of wiki.rubyonrails.org? The spam is ridiculous. The maintainer needs to step up and take action. -Andrew R.

---

## [Re: wiki.rubyonrails.org spam](https://www.ruby-forum.com/t/re-wiki-rubyonrails-org-spam/72515)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 7:55pm UTC](https://www.ruby-forum.com/t/re-wiki-rubyonrails-org-spam/72515 "2006-10-17T19:55:56Z")

</div>

From: Rob S. \[mailto:removed\_email\_address@domain.invalid\] A little logic captcha I’ve come up with (details here: http://www.robsanheim.com/brain\_buster) will hopefully be in place soon on the Rails wiki. I get 40…

---

## [Ruby Quiz - Degree of Difficulty](https://www.ruby-forum.com/t/ruby-quiz-degree-of-difficulty/72473)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 20\
**Last updated:** [October 17, 2006, 7:53pm UTC](https://www.ruby-forum.com/t/ruby-quiz-degree-of-difficulty/72473 "2006-10-17T19:53:55Z")

</div>

Hi all, Whilst on a Uni break I thought I’d try and attack some of the Ruby quizzes. There’s no way I’d be able to do the latest quiz but what I thought I’d do is go over some of the previous ones and see how I’d go. …

---

## [Re: metaprogramming surprise?](https://www.ruby-forum.com/t/re-metaprogramming-surprise/72503)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [October 17, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/re-metaprogramming-surprise/72503 "2006-10-17T19:33:50Z")

</div>

Artur M. wrote: class A @@class\_variable @class\_instance\_variable def initialize @instance\_variable end end I hope this is the correct naming for this variables That’s the way I think of them, too. It might he…

---

## [Rubychess now available on Rubyforge](https://www.ruby-forum.com/t/rubychess-now-available-on-rubyforge/72271)

<div class="topic-metadata">

**Author:** [@Glenn\_MSLewis](https://www.ruby-forum.com/u/Glenn_MSLewis)\
**Replies:** 4\
**Last updated:** [October 17, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/rubychess-now-available-on-rubyforge/72271 "2006-10-17T18:57:42Z")

</div>

Rubychess is now available at rubyforge: http://rubyforge.org/projects/rubychess/ Enjoy, and thanks in advance if you choose to help on this project. – Glenn

---

## [Trouble with gem update on Mac OS X](https://www.ruby-forum.com/t/trouble-with-gem-update-on-mac-os-x/72506)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 6:35pm UTC](https://www.ruby-forum.com/t/trouble-with-gem-update-on-mac-os-x/72506 "2006-10-17T18:35:37Z")

</div>

This morning I found that my laptop had an older version of gems on it (0.8.11). I ran “gem update --system” and got errors (because I wasn’t running it as root–oops). I then ran “sudo gem update --system” and it…

---

## [Attributes-3.2.0](https://www.ruby-forum.com/t/attributes-3-2-0/72421)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [October 17, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/attributes-3-2-0/72421 "2006-10-17T18:25:27Z")

</div>

NAME attributes.rb URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby SYNOPSIS attributes.rb provides an attr\_\* like method will several user friendly additions. attributes.rb is…

---

## [Ruby conf ticket scavanger](https://www.ruby-forum.com/t/ruby-conf-ticket-scavanger/72501)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/ruby-conf-ticket-scavanger/72501 "2006-10-17T18:05:18Z")

</div>

…anybody with last legitmate minute cancells to the ruby-conf email me privately…willing to negotiate…dave

---

## [Database schema](https://www.ruby-forum.com/t/database-schema/72486)

<div class="topic-metadata">

**Author:** [@NagasamudramS\_Prasa](https://www.ruby-forum.com/u/NagasamudramS_Prasa)\
**Replies:** 1\
**Last updated:** [October 17, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/database-schema/72486 "2006-10-17T17:59:23Z")

</div>

Hi All This is my first mail to this mailing list. I started using the rails framework for ruby. I was able to understand and create the sample cookbook application. Now I want to try something new. I basically want…

---

## [Bug in rdoc?](https://www.ruby-forum.com/t/bug-in-rdoc/72322)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 6\
**Last updated:** [October 17, 2006, 5:53pm UTC](https://www.ruby-forum.com/t/bug-in-rdoc/72322 "2006-10-17T17:53:18Z")

</div>

– The following example, is taken from the rdoc documentation. For the long options, it converts – into — (a long hyphen) instead of two separate hyphens with some whitespace in between. (see www.servalys.nl/ doc/ind…

---

## [Emacs equivalent of ri browser vim plugin?](https://www.ruby-forum.com/t/emacs-equivalent-of-ri-browser-vim-plugin/72259)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 2\
**Last updated:** [October 17, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/emacs-equivalent-of-ri-browser-vim-plugin/72259 "2006-10-17T17:51:18Z")

</div>

Is there a port of the ri plugin that is available for Vim for Emacs? For those of you who don’t know what I am talking about the plugin provides the class documentation for ruby in vim’s help document format. You us…

---

## [Open4-0.9.0](https://www.ruby-forum.com/t/open4-0-9-0/72498)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/open4-0-9-0/72498 "2006-10-17T17:43:13Z")

</div>

URIS http://rubyforge.org/projects/codeforpeople/ http://www.codeforpeople.com/lib/ruby/ SYNOPSIS open child process with handles on pid, stdin, stdout, and stderr: manage child processes and their io handles easil…

---

## [Microformat DSL... would like some feedback](https://www.ruby-forum.com/t/microformat-dsl-would-like-some-feedback/72482)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 2\
**Last updated:** [October 17, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/microformat-dsl-would-like-some-feedback/72482 "2006-10-17T17:37:12Z")

</div>

I have been working on a DSL to make it easy to define Microformats and then using that to generate migrations, database models and eventually view helpers, hence making it so easy to include microformats that it woul…

---

## [Dynamically assigning instance variables (redux)](https://www.ruby-forum.com/t/dynamically-assigning-instance-variables-redux/72418)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 9\
**Last updated:** [October 17, 2006, 5:04pm UTC](https://www.ruby-forum.com/t/dynamically-assigning-instance-variables-redux/72418 "2006-10-17T17:04:49Z")

</div>

I need a modern answer to Daniel B.'s 2002 post, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/39534 Is there a way to dynamically assign instance variables? class SomeClass def initialize(hash) hash.e…

---

## [Ruby-lang.org suggestion](https://www.ruby-forum.com/t/ruby-lang-org-suggestion/72440)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 3\
**Last updated:** [October 17, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/ruby-lang-org-suggestion/72440 "2006-10-17T16:11:27Z")

</div>

Hi. In the download section of ruby-lang.org, there’s a how-to about installation of Ruby. The document says: However, afaik, the recommendation way of installing ruby is using virtual package named ‘ruby’ especia…

---

## [Microformat DSL... would like some feedback](https://www.ruby-forum.com/t/microformat-dsl-would-like-some-feedback/72484)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 0\
**Last updated:** [October 17, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/microformat-dsl-would-like-some-feedback/72484 "2006-10-17T15:37:07Z")

</div>

I have been working on a DSL to make it easy to define Microformats and then using that to generate migrations, database models and eventually view helpers, hence making it so easy to include microformats that it woul…

---

## [Array.new question](https://www.ruby-forum.com/t/array-new-question/72443)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 11\
**Last updated:** [October 17, 2006, 2:54pm UTC](https://www.ruby-forum.com/t/array-new-question/72443 "2006-10-17T14:54:59Z")

</div>

Hello, I would like to create an array of n empty arrays, i.e. \[ \[\], \[\], … n-3 \[\]'s, \[\] \] So that the inner arrays are different objects. Array.new(n,\[\]) does not help since the created arrays are not different …

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

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