# Ruby

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

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

---

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

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [September 23, 2006, 11:38pm UTC](https://www.ruby-forum.com/t/ruby-and-mysql/69736 "2006-09-23T23:38:06Z")

</div>

hello! can someone explain to me the basic usage for the native mysql bindings for ruby? I’m on OSX and have installed the pure ruby drivers (mysql-2.7) using gem however, i’m getting the following error on trying a…

---

## [Ruby TK list question](https://www.ruby-forum.com/t/ruby-tk-list-question/69664)

<div class="topic-metadata">

**Author:** [@rubyman](https://www.ruby-forum.com/u/rubyman)\
**Replies:** 1\
**Last updated:** [September 23, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/ruby-tk-list-question/69664 "2006-09-23T22:52:02Z")

</div>

Hi everyone, I am trying to do the following: I am trying to have one list re-display it’s contents with new information based upon a selection made in another list without having the user click on a button. So the u…

---

## [Wow! Jamis Buck + blog + GDB + C API == mind blowing coolnes](https://www.ruby-forum.com/t/wow-jamis-buck-blog-gdb-c-api-mind-blowing-coolnes/69701)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 3\
**Last updated:** [September 23, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/wow-jamis-buck-blog-gdb-c-api-mind-blowing-coolnes/69701 "2006-09-23T22:52:01Z")

</div>

For those of you who don’t follow Jamis B.'s blog (and why don’t you?) you should run, not walk, over to http://weblog.jamisbuck.org/2006/9/22/inspecting-a-live-ruby-process to get instructions on using GDB and the Ru…

---

## [Threading and the MySQL](https://www.ruby-forum.com/t/threading-and-the-mysql/69663)

<div class="topic-metadata">

**Author:** [@fcheung](https://www.ruby-forum.com/u/fcheung)\
**Replies:** 4\
**Last updated:** [September 23, 2006, 10:52pm UTC](https://www.ruby-forum.com/t/threading-and-the-mysql/69663 "2006-09-23T22:52:01Z")

</div>

Hi, We’ve noticed the following slightly odd behaviour when executing long running queries to mysql using the native ruby gem (in some ActiveRecord code running in backgroundrb but the problem is not connected to act…

---

## [Ruby, Analysis, and Tons of RAM](https://www.ruby-forum.com/t/ruby-analysis-and-tons-of-ram/69733)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 23, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/ruby-analysis-and-tons-of-ram/69733 "2006-09-23T20:39:42Z")

</div>

Does anyone have experience with using Ruby for analysis (lots of maths), on a machine with a ridiculous amount of RAM? For example, a hip 64-bit Linux kernel on a machine with 32 or 64 GB of physical RAM. Are there a…

---

## [Nil.to\_s](https://www.ruby-forum.com/t/nil-to-s/67189)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 58\
**Last updated:** [September 23, 2006, 7:49pm UTC](https://www.ruby-forum.com/t/nil-to-s/67189 "2006-09-23T19:49:36Z")

</div>

e$BA0ED$G$9!#e(B trunke$B$Ge(Bnil.to\_se$B$,e(B"nil"e$B$rJV$9$h$&$KJQ99$5$l$?$N$G!"$^$D$b$H$5$s$Ke(B e$B!VK\\5$$G$9$+e(B?e$B!W$HJ9$$$?$i$I$&$d$iK\\5$$N$h$&$G$9!#e(B e$BM}M3$O!Ve(Bnile$B$,6uJ8;zNs$K$J$k$N$OJQ$@$+$i!W$H$$$&…

---

## [Would people use a rubyforge apt-get repository?](https://www.ruby-forum.com/t/would-people-use-a-rubyforge-apt-get-repository/69634)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 10\
**Last updated:** [September 23, 2006, 6:59pm UTC](https://www.ruby-forum.com/t/would-people-use-a-rubyforge-apt-get-repository/69634 "2006-09-23T18:59:33Z")

</div>

Just an idea that’s been bouncing around my head… Using Ubuntu, there are some ruby libraries that you can download with apt-get, mostly core ones that aren’t included in the ruby package itself. If rubyforge had a r…

---

## [Re: cryptography (RSA)](https://www.ruby-forum.com/t/re-cryptography-rsa/69682)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [September 23, 2006, 6:07pm UTC](https://www.ruby-forum.com/t/re-cryptography-rsa/69682 "2006-09-23T18:07:08Z")

</div>

puts %(encrypted text: #{cipher.inspect}) This is the result: “\\214\\t\\303n\\320Lz\\330\\271\\252\\017\\355\\036\\251|\\237\\212V\\270hq \\267X\\204\\261\\3327t\\345\\353\\324\\364” what is that? \\214???\\t\\303n? irb(main):001:0\> 140.ch…

---

## [Win XP & One-Click installer .dump problems](https://www.ruby-forum.com/t/win-xp-one-click-installer-dump-problems/69742)

<div class="topic-metadata">

**Author:** [@igrigorik](https://www.ruby-forum.com/u/igrigorik)\
**Replies:** 0\
**Last updated:** [September 23, 2006, 4:41pm UTC](https://www.ruby-forum.com/t/win-xp-one-click-installer-dump-problems/69742 "2006-09-23T16:41:09Z")

</div>

Hey, I ran into an annoying bug while trying to use the Ferret gem: C:\\Documents and Settings\\Ilya\>ruby -v ruby 1.8.4 (2006-04-14) \[i386-mswin32\] C:\\Documents and Settings\\Ilya\>gem list --local \*\*\* LOCAL GEMS \*\*\* f…

---

## [FastCGI](https://www.ruby-forum.com/t/fastcgi/69730)

<div class="topic-metadata">

**Author:** [@pratiksha](https://www.ruby-forum.com/u/pratiksha)\
**Replies:** 0\
**Last updated:** [September 23, 2006, 1:19pm UTC](https://www.ruby-forum.com/t/fastcgi/69730 "2006-09-23T13:19:14Z")

</div>

hi all can somebody help me that how can i install fastCGI in my fedora os. i have installed fastcgi,but i can not install mod\_fastcgi: I have told to do $ cd \<mod\_fastcgi\_dir\> $ cp Makefile.AP2 Makefile $ make $…

---

## [Class-Level Instance Variables](https://www.ruby-forum.com/t/class-level-instance-variables/69707)

<div class="topic-metadata">

**Author:** [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Replies:** 1\
**Last updated:** [September 23, 2006, 2:32am UTC](https://www.ruby-forum.com/t/class-level-instance-variables/69707 "2006-09-23T02:32:46Z")

</div>

I wrote a little bit about class-level instance variables today: http://wiseheartdesign.com/articles/2006/09/22/class-level-instance-variables/ Maybe this is new for some people. Did I get my facts straight?

---

## [\[ANN\] Dr Nicâ?s Magic Models 0.8 - Validate Anything](https://www.ruby-forum.com/t/ann-dr-nica-s-magic-models-0-8-validate-anything/69501)

<div class="topic-metadata">

**Author:** [@nicwilliams](https://www.ruby-forum.com/u/nicwilliams)\
**Replies:** 3\
**Last updated:** [September 23, 2006, 2:16am UTC](https://www.ruby-forum.com/t/ann-dr-nica-s-magic-models-0-8-validate-anything/69501 "2006-09-23T02:16:45Z")

</div>

In the first run of the sell-out Magic Models - â??I canâ??t believe its an ActiveRecordâ? - Super Show - you were amazed as we stripped away the necessary essentials of an ActiveRecord - right in front of your eyes - …

---

## [Re: New RMagick article: The Polaroid Effect](https://www.ruby-forum.com/t/re-new-rmagick-article-the-polaroid-effect/69706)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [September 23, 2006, 2:06am UTC](https://www.ruby-forum.com/t/re-new-rmagick-article-the-polaroid-effect/69706 "2006-09-23T02:06:45Z")

</div>

It’s called The Polaroid Effect. I wrote a short article about it: http://rmagick.rubyforge.org/Polaroid/polaroid.rb. If you’re interested about using RMagick for more than just making thumbnails, give it a read. I h…

---

## [New RMagick article: The Polaroid Effect](https://www.ruby-forum.com/t/new-rmagick-article-the-polaroid-effect/69704)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 0\
**Last updated:** [September 23, 2006, 1:28am UTC](https://www.ruby-forum.com/t/new-rmagick-article-the-polaroid-effect/69704 "2006-09-23T01:28:42Z")

</div>

A couple of weeks ago I saw a nice image special effect in a book about Photoshop Elements, so I came home and worked out how to reproduce it using RMagick. It’s called The Polaroid Effect. I wrote a short article abo…

---

## [Advice on using define\_method in ActiveRecord descendant](https://www.ruby-forum.com/t/advice-on-using-define-method-in-activerecord-descendant/69689)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [September 23, 2006, 12:05am UTC](https://www.ruby-forum.com/t/advice-on-using-define-method-in-activerecord-descendant/69689 "2006-09-23T00:05:16Z")

</div>

All, I have five accessor methods in an AR descendant that are virtually the same. I wanted to try and use define\_method to auto-define all five methods, but I can’t seem to get it to work. Here are the methods: de…

---

## [Gem installer and scripts](https://www.ruby-forum.com/t/gem-installer-and-scripts/69579)

<div class="topic-metadata">

**Author:** [@tedx](https://www.ruby-forum.com/u/tedx)\
**Replies:** 3\
**Last updated:** [September 22, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/gem-installer-and-scripts/69579 "2006-09-22T23:54:36Z")

</div>

Is there a way to get gem to run a script during an install similar to rpms pre/post-install? How do others deal with needing to copy files or create links etc. during a gem install? Ted

---

## [Firebird ! anyone is using it with Ruby?](https://www.ruby-forum.com/t/firebird-anyone-is-using-it-with-ruby/69683)

<div class="topic-metadata">

**Author:** [@gugui](https://www.ruby-forum.com/u/gugui)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/firebird-anyone-is-using-it-with-ruby/69683 "2006-09-22T23:30:54Z")

</div>

Hi, I need to develop in GUI so what the best component to use Ruby with Firebird ? this component is for Ruby and Ruby on Rails ? is it work well ? thanks so much !

---

## [Assistance wanted for integrating existing C-API into Ruby](https://www.ruby-forum.com/t/assistance-wanted-for-integrating-existing-c-api-into-ruby/69480)

<div class="topic-metadata">

**Author:** [@Feurio](https://www.ruby-forum.com/u/Feurio)\
**Replies:** 12\
**Last updated:** [September 22, 2006, 9:40pm UTC](https://www.ruby-forum.com/t/assistance-wanted-for-integrating-existing-c-api-into-ruby/69480 "2006-09-22T21:40:24Z")

</div>

Hello, I am seeking assistance for writing a ruby wrapper for the c-api of an existing enterprise system. This job is a paid job. In my vision the access from ruby/rails to this existing system should be like working…

---

## [Python from within irb :)](https://www.ruby-forum.com/t/python-from-within-irb/69667)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 1\
**Last updated:** [September 22, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/python-from-within-irb/69667 "2006-09-22T21:32:22Z")

</div>

Welcome to Darwin! my-mac-mini:~ rbt$ irb irb(main):001:0\> puts RUBY\_PLATFORM powerpc-darwin8.0 =\> nil irb(main):002:0\> system(‘python’) Python 2.3.5 (#1, Mar 20 2005, 20:38:20) \[GCC 3.3 20030304 (Apple Computer, …

---

## [Deconstruction of Array Parameters by Functions](https://www.ruby-forum.com/t/deconstruction-of-array-parameters-by-functions/69673)

<div class="topic-metadata">

**Author:** [@sickfaichezi](https://www.ruby-forum.com/u/sickfaichezi)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/deconstruction-of-array-parameters-by-functions/69673 "2006-09-22T21:22:21Z")

</div>

Hi, I would like to pass arguments to a function that takes a variable number of arguments using an array. For example: my\_array = \[1, 2, 3\] Below should call my\_var\_arg\_function(1, 2, 3) pass\_array\_as\_args(my\_var\_a…

---

## [64-bit integers in network byte-order](https://www.ruby-forum.com/t/64-bit-integers-in-network-byte-order/69645)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 11\
**Last updated:** [September 22, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/64-bit-integers-in-network-byte-order/69645 "2006-09-22T20:28:16Z")

</div>

All, does Ruby have a way to convert 64-bit integers to and from network order in a platform-independent way? For 32-bit ints, I can use \[value\].pack(“N”). The conversion operator for 64-bit ints (“Q”) doesn’t have a…

---

## [Ducktator - A Duck Type Validator](https://www.ruby-forum.com/t/ducktator-a-duck-type-validator/69264)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 80\
**Last updated:** [September 22, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/ducktator-a-duck-type-validator/69264 "2006-09-22T20:20:15Z")

</div>

Announcing the first release of Ducktator, a Duck Type validator. Ducktator is a small library to enable Ruby systems to generically validate objects introspectively. In plain speak, check certain common methods of ob…

---

## [Discovering the OS](https://www.ruby-forum.com/t/discovering-the-os/69656)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/discovering-the-os/69656 "2006-09-22T19:10:44Z")

</div>

hi list - just wondering if there is a way to find out which OS ruby is running on? for these type of: if (windows) system “start file.html” else if (mac) system “open file.html” end – David "DC" Collier mai…

---

## [GEMs not installing properly](https://www.ruby-forum.com/t/gems-not-installing-properly/69651)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/gems-not-installing-properly/69651 "2006-09-22T18:51:54Z")

</div>

Hi, I’m having trouble with the KirbyBase gem. I installed it, using: gem install KirbyBase. It appeared to install. I’ve done it 2 or 3 times now. And, when I type: gem list --local, it lists KirbyBase 2.6. But, w…

---

## [Installing Ruby from Source, README needs the command 'make](https://www.ruby-forum.com/t/installing-ruby-from-source-readme-needs-the-command-make/69654)

<div class="topic-metadata">

**Author:** [@Micah\_Cochran](https://www.ruby-forum.com/u/Micah_Cochran)\
**Replies:** 0\
**Last updated:** [September 22, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/installing-ruby-from-source-readme-needs-the-command-make/69654 "2006-09-22T18:33:50Z")

</div>

Recently, I compiled ruby for the second time in my life last week. I picked up the latest source release, the ruby-1.8.5.tar.bz2, and the compile on my Linux box running HostGIS, a Slackware Based Distro, went great.…

---

## [Ruby and Borland C++](https://www.ruby-forum.com/t/ruby-and-borland-c/69547)

<div class="topic-metadata">

**Author:** [@Sig](https://www.ruby-forum.com/u/Sig)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/ruby-and-borland-c/69547 "2006-09-22T18:27:48Z")

</div>

Hello all, I successfully build ruby using both Borland C++ Builder 6 and BDS2006 C++. However when I try to include ruby.h in my C++ project I get compiler errors: \[C++ Error\] stdio.h(384): E2167 ‘\_strerror(const ch…

---

## [Ruby/win32ole Excel Move problem](https://www.ruby-forum.com/t/ruby-win32ole-excel-move-problem/69511)

<div class="topic-metadata">

**Author:** [@Craig\_Moran](https://www.ruby-forum.com/u/Craig_Moran)\
**Replies:** 10\
**Last updated:** [September 22, 2006, 6:11pm UTC](https://www.ruby-forum.com/t/ruby-win32ole-excel-move-problem/69511 "2006-09-22T18:11:47Z")

</div>

I have been trying to implement this Excel subroutine in Ruby, but am having trouble with the Move command. The real issue is with the “after:=Sheets()” portion of the command in the code below. Does anyone know how…

---

## [Problems trying to unsubscribe](https://www.ruby-forum.com/t/problems-trying-to-unsubscribe/68323)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/problems-trying-to-unsubscribe/68323 "2006-09-22T17:43:43Z")

</div>

Hi guys, I feel kind of bad sending this, but I just don’t seem to be managing to unsubscribe. It’s not that I don’t want to read the list, just that my inbox is getting flooded and I’d rather go to the archive to rea…

---

## [Converting a number to a date](https://www.ruby-forum.com/t/converting-a-number-to-a-date/69598)

<div class="topic-metadata">

**Author:** [@siguva](https://www.ruby-forum.com/u/siguva)\
**Replies:** 5\
**Last updated:** [September 22, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/converting-a-number-to-a-date/69598 "2006-09-22T17:29:40Z")

</div>

My XML request returned a date field as a “string” with the value of 1158364800000 Does Ruby have a function to turn this into a date? Thank you!

---

## [RAD ( Rapid Application Development)](https://www.ruby-forum.com/t/rad-rapid-application-development/69621)

<div class="topic-metadata">

**Author:** [@gugui](https://www.ruby-forum.com/u/gugui)\
**Replies:** 7\
**Last updated:** [September 22, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/rad-rapid-application-development/69621 "2006-09-22T17:15:39Z")

</div>

Hi all ! is there a tool like a Glade, Delphi, Qt3 Design to work with Ruby ? thanks !

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

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