# Ruby

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

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

---

## [Re: strange dbi](https://www.ruby-forum.com/t/re-strange-dbi/64869)

<div class="topic-metadata">

**Author:** [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/re-strange-dbi/64869 "2006-08-15T14:19:57Z")

</div>

Johnf, Have you tried using single quotes? rows = db.select\_all(‘select \* from arcust’) Regards Gem

---

## [Errors in include "CFURL.h"](https://www.ruby-forum.com/t/errors-in-include-cfurl-h/64830)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/errors-in-include-cfurl-h/64830 "2006-08-15T14:19:57Z")

</div>

now, my skeleton is working (thanks to ) i want to add Carbon function into my c file. i’ve only added : #include “/Developer/Headers/FlatCarbon/CFURL.h” and : CFURLRef url = CFURLCreateWithFileSystemPath(kCFAllocat…

---

## [Gmail and ruby-talk (was Re: Pen and Paper (#90))](https://www.ruby-forum.com/t/gmail-and-ruby-talk-was-re-pen-and-paper-90/64791)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/gmail-and-ruby-talk-was-re-pen-and-paper-90/64791 "2006-08-15T14:19:56Z")

</div>

On 8/13/06, Matt T. removed\_email\_address@domain.invalid wrote: Eric, if you use Gmail, it’ll show up twice because Gmail adds your response as well as the email you get of what you just sent back from the list. So, …

---

## [Strange dbi](https://www.ruby-forum.com/t/strange-dbi/64863)

<div class="topic-metadata">

**Author:** [@johnf](https://www.ruby-forum.com/u/johnf)\
**Replies:** 0\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/strange-dbi/64863 "2006-08-15T14:19:56Z")

</div>

Hi, First I’m a newbie to ruby. I’m using SUSE 10.0, ruby 1.8.2, dbi, freetds, unixODBC. I’m just testing access to a MS SQL 2000 database. I also posted this on the forum but no one responsed for two days. code: …

---

## [Case statement not being picked up](https://www.ruby-forum.com/t/case-statement-not-being-picked-up/64858)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/case-statement-not-being-picked-up/64858 "2006-08-15T14:19:56Z")

</div>

Hi, This is my code and I have printed out some de-bug statements. I haven’t a clue why the task = ‘validate’ switch statement is not being executed. class Form def initialize #see if file exists, what file or we g…

---

## [Mechanize and Radiobuttons](https://www.ruby-forum.com/t/mechanize-and-radiobuttons/102411)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/mechanize-and-radiobuttons/102411 "2006-08-15T14:19:55Z")

</div>

I have found Mechanize fairly intuitive and easy to use. (after learning some HTML! :)) and wondered if I’m doing something wrong when using radiobuttons. There are two radio buttons on the form I am working with and …

---

## [Ruby In Steel 0.75 now available for download](https://www.ruby-forum.com/t/ruby-in-steel-0-75-now-available-for-download/64836)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/ruby-in-steel-0-75-now-available-for-download/64836 "2006-08-15T14:19:50Z")

</div>

{{Version 0.75 of Ruby In Steel}} is now available for download. This release includes significantly enhanced colour coding and collapsing for both Ruby and Rails (RHTML) files and provides support for debugging suppo…

---

## [1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension](https://www.ruby-forum.com/t/1337-speak-for-ruby-and-an-activerecord-1337-speak-extension/102355)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/1337-speak-for-ruby-and-an-activerecord-1337-speak-extension/102355 "2006-08-15T14:19:48Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord Extension 1337 - 0.0.1 is released! A 1337 speak module for ruby is released! It is bundled with the ActiveRecord extension activerecord\_1337. This allows yo…

---

## [Configureing Ruby cgi http.conf](https://www.ruby-forum.com/t/configureing-ruby-cgi-http-conf/102263)

<div class="topic-metadata">

**Author:** [@dbelsham](https://www.ruby-forum.com/u/dbelsham)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/configureing-ruby-cgi-http-conf/102263 "2006-08-15T14:19:30Z")

</div>

Hi I know that this is a simple problem but. can some one tel me how to configure the httpd.conf to use simple ruby cgi scripts. I have seen it before but cannot find it now. Installed the latest Ruby. have craeted …

---

## [Where's Enumerable?](https://www.ruby-forum.com/t/wheres-enumerable/64813)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/wheres-enumerable/64813 "2006-08-15T14:19:26Z")

</div>

This fails with the follow error message: require ‘Enumerable’ c:/Program Files/Ruby/lib/ruby/site\_ruby/1.8/rubygems.custom\_require.rb:18:in ‘require\_\_’: No such file to load – Enumberable (LoadError) from c:/Progra…

---

## [Automatic instantiation of subclasses](https://www.ruby-forum.com/t/automatic-instantiation-of-subclasses/101857)

<div class="topic-metadata">

**Author:** [@kilivor](https://www.ruby-forum.com/u/kilivor)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/automatic-instantiation-of-subclasses/101857 "2006-08-15T14:19:23Z")

</div>

Hi! First sorry I am a beginner ;-( What I want to do is: automatically instantiate subclasses of a given class, say, A. class A end class A1 \< A end class A2 \<A end So I want to know the names of A subclasses: …

---

## [Rubygems on Mac OS X](https://www.ruby-forum.com/t/rubygems-on-mac-os-x/102206)

<div class="topic-metadata">

**Author:** [@ghulette](https://www.ruby-forum.com/u/ghulette)\
**Replies:** 12\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/rubygems-on-mac-os-x/102206 "2006-08-15T14:19:16Z")

</div>

I am having a problem getting gems configured properly on my Mac (OS X 10.4.7), hopefully someone here can help me out. I installed ruby and ruby gems using the instructions at Dan Benjamin. I am trying to use the X…

---

## [Search objects](https://www.ruby-forum.com/t/search-objects/64800)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/search-objects/64800 "2006-08-15T14:19:16Z")

</div>

I can use some help here: I’ve set up this class and objects and would like to “search” it similar to the way I would search a database. At this point I’m not concerned with adding regex for more liberal searches. A…

---

## [Module to make guerilla (monkey?) / reopening classes easier](https://www.ruby-forum.com/t/module-to-make-guerilla-monkey-reopening-classes-easier/64802)

<div class="topic-metadata">

**Author:** [@Logan\_C](https://www.ruby-forum.com/u/Logan_C)\
**Replies:** 0\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/module-to-make-guerilla-monkey-reopening-classes-easier/64802 "2006-08-15T14:19:11Z")

</div>

I hammered this out today. It has some limitations (works only for classes, not modules), and when using the block only form of patch your method redefinitions are evaluated twice. I’m looking for commentary before I …

---

## [PATCH to make internal Hash class retain order](https://www.ruby-forum.com/t/patch-to-make-internal-hash-class-retain-order/64711)

<div class="topic-metadata">

**Author:** [@Thies\_CSArntzen](https://www.ruby-forum.com/u/Thies_CSArntzen)\
**Replies:** 20\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/patch-to-make-internal-hash-class-retain-order/64711 "2006-08-15T14:19:10Z")

</div>

Hi there - beeing new to ruby (thru rails) and coming from a strong php background i really miss beeing able to retain order in a Hash. i know that this has been discussed in the past i also understand that i can alwa…

---

## [Toward better project layouts](https://www.ruby-forum.com/t/toward-better-project-layouts/64799)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/toward-better-project-layouts/64799 "2006-08-15T14:19:08Z")

</div>

Hi– As some of you may know I’ve been working on and off on a lib versioing system for Ruby that would allow versioned libs to be required independent of the pacakge system used to distribute them (as opposed to Gems…

---

## [Ruby in Steel won't work, am I just screwed?](https://www.ruby-forum.com/t/ruby-in-steel-wont-work-am-i-just-screwed/64795)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/ruby-in-steel-wont-work-am-i-just-screwed/64795 "2006-08-15T14:19:07Z")

</div>

Okay, I’ve posted this before but I finally got around to trying it again and it still won’t work. I’ve installed the projectaggregator2.msi (more than once, unfortunately) and I’ve uninstalled Steel after uninstall…

---

## [Modules -\> do I have is straight?](https://www.ruby-forum.com/t/modules-do-i-have-is-straight/64531)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 17\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/modules-do-i-have-is-straight/64531 "2006-08-15T14:19:07Z")

</div>

Hi First off, thanks for letting me be a Ruby noob. I’ve read most of the Pickaxe book and most of Why’s guide (whee it’s in PDF now) and I am getting comfortable w/ Ruby. Coming from a long Java background I tend to…

---

## [Ruport Day has begun!](https://www.ruby-forum.com/t/ruport-day-has-begun/64755)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/ruport-day-has-begun/64755 "2006-08-15T14:19:07Z")

</div>

== It’s Ruport Day! == Hi everyone, just letting you know that Ruport Day 2006 has officially started. The contest is open registration all the way up until the last minute, so feel free to join up if you haven’t yet…

---

## [How to update nested Hashes?](https://www.ruby-forum.com/t/how-to-update-nested-hashes/64794)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/how-to-update-nested-hashes/64794 "2006-08-15T14:19:06Z")

</div>

Given two nested Hashes, is there an easy way to update one with the other? a = {:top =\> {:foo =\> {:a =\> 1}, :bar =\> {:b =\> 2}}} b = {:top =\> {:bar =\> {:c =\> 3}}} what I’d like is a.nested\_update(b) =\> {:top =\> {:fo…

---

## [Tim Bray (Sun Microsystems) on Ruby](https://www.ruby-forum.com/t/tim-bray-sun-microsystems-on-ruby/64762)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/tim-bray-sun-microsystems-on-ruby/64762 "2006-08-15T14:19:04Z")

</div>

The Director of Web Technologies at Sun Microsystems jumps directly to the conclusion about Ruby. “For people like me, who are proficient in Perl and Java, Ruby is remarkably, perhaps irresistibly, attractive.” http:/…

---

## [Ruby and games](https://www.ruby-forum.com/t/ruby-and-games/64734)

<div class="topic-metadata">

**Author:** [@FSSenault](https://www.ruby-forum.com/u/FSSenault)\
**Replies:** 7\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/ruby-and-games/64734 "2006-08-15T14:18:58Z")

</div>

Hello all. Python seems to be used as a scripting language by quite a few big games (I’m playing Civilization IV currently, and I remember at least one of the Vampire CRPG uses it too). I was wonderering if a game ma…

---

## [Spread your best code-snippets](https://www.ruby-forum.com/t/spread-your-best-code-snippets/101098)

<div class="topic-metadata">

**Author:** [@naPOLeon](https://www.ruby-forum.com/u/naPOLeon)\
**Replies:** 19\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/spread-your-best-code-snippets/101098 "2006-08-15T14:18:58Z")

</div>

I just ran over a nice code-snippet online-database: ‘Programming is Hard’ at http://programmingishard.com/ So let’s spread our best Ruby-Code to help the others out there to improve their code.

---

## [Ruby climbed up to the 13th place in the Tiobe index](https://www.ruby-forum.com/t/ruby-climbed-up-to-the-13th-place-in-the-tiobe-index/64777)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/ruby-climbed-up-to-the-13th-place-in-the-tiobe-index/64777 "2006-08-15T14:18:58Z")

</div>

In blitz interview with Bruce Tate, he says that does not know, use, or has an opinion on the Ruby language yet. But since this language climbed up to the 13th place in the Tiobe index, it deserves to be taken serious…

---

## [New Ruby Culture T-Shirts!](https://www.ruby-forum.com/t/new-ruby-culture-t-shirts/100810)

<div class="topic-metadata">

**Author:** [@maraby](https://www.ruby-forum.com/u/maraby)\
**Replies:** 59\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/new-ruby-culture-t-shirts/100810 "2006-08-15T14:18:56Z")

</div>

Ruby culture t-shirts are available for purchase right now! http://www.spreadshirt.com/shop.php?sid=36444 == DESCRIPTION Inspired by has\_and\_belongs\_to\_none, I decided to make a few shirts that I thought would be coo…

---

## [Simple question regarding hashes](https://www.ruby-forum.com/t/simple-question-regarding-hashes/102356)

<div class="topic-metadata">

**Author:** [@d0t1q](https://www.ruby-forum.com/u/d0t1q)\
**Replies:** 15\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/simple-question-regarding-hashes/102356 "2006-08-15T14:18:50Z")

</div>

Is something like this possible? asdf = {“letters” =\> |||||some code that returns something|||||} This is difficult for me to explain being that im not a “programmer” but… here’s what im trying to do: asdf = {“letter…

---

## [Microsoft Phasing in Support for Dynamic Languages on .Net](https://www.ruby-forum.com/t/microsoft-phasing-in-support-for-dynamic-languages-on-net/64776)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 0\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/microsoft-phasing-in-support-for-dynamic-languages-on-net/64776 "2006-08-15T14:18:48Z")

</div>

Microsoft is working behind the scenes to enhance the support of .Net for dynamic programming languages…looking at leveraging some of the simplicity that Basic has. “That feels a lot like what people say they love tod…

---

## [Secrets of lightweight development success](https://www.ruby-forum.com/t/secrets-of-lightweight-development-success/64775)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 0\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/secrets-of-lightweight-development-success/64775 "2006-08-15T14:18:48Z")

</div>

“The Java? programming language is powerful, but it has significant limitations for lightweight development. For certain problems, other programming languages such as Ruby may lead to better productivity. Find out wha…

---

## [String parity module](https://www.ruby-forum.com/t/string-parity-module/102455)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 1\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/string-parity-module/102455 "2006-08-15T14:18:45Z")

</div>

Anyone know of an existing module for settings odd/even/space parity on strings?

---

## [Newbie question: how to create variable](https://www.ruby-forum.com/t/newbie-question-how-to-create-variable/102417)

<div class="topic-metadata">

**Author:** [@kajism](https://www.ruby-forum.com/u/kajism)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/newbie-question-how-to-create-variable/102417 "2006-08-15T14:18:43Z")

</div>

Hi, how to create variable in the method that accepts string as name of the variable and the object? Something like this: class InterpreterCallback def set\_object(name, value) #do something here end end $callbac…

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

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