# Ruby

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

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

---

## [Extracting array values in Object.send](https://www.ruby-forum.com/t/extracting-array-values-in-object-send/81774)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 1\
**Last updated:** [January 13, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/extracting-array-values-in-object-send/81774 "2007-01-13T22:37:01Z")

</div>

How can I exract array values when using Object.send. See the example below. class TestSend def test( arg1, arg2, arg3) puts arg1 puts arg2 puts arg3 end end t = TestSend.new t.send(‘test’, ‘hey’, 1, ‘rrr’) ar…

---

## [Hi, not able to work with image in ruby](https://www.ruby-forum.com/t/hi-not-able-to-work-with-image-in-ruby/81735)

<div class="topic-metadata">

**Author:** [@maloy](https://www.ruby-forum.com/u/maloy)\
**Replies:** 1\
**Last updated:** [January 12, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/hi-not-able-to-work-with-image-in-ruby/81735 "2007-01-12T16:09:17Z")

</div>

hi, I am very new to ruby . My new project is in WATIR(testing tool) which has ruby as an scripting language . I need to compare two images so for that i need to read an image from a web page how can i go about that …

---

## [Ruby Rails Job Openings - California and North Carolina](https://www.ruby-forum.com/t/ruby-rails-job-openings-california-and-north-carolina/81709)

<div class="topic-metadata">

**Author:** [@brent](https://www.ruby-forum.com/u/brent)\
**Replies:** 0\
**Last updated:** [January 11, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/ruby-rails-job-openings-california-and-north-carolina/81709 "2007-01-11T19:04:25Z")

</div>

Hello! I am Brent and I am a recruiter at Cisco. I am presently looking for Ruby on Rails programmers that have worked for a social networking internet site. (ex. Google, LinkedIn, MySpace, Ebay, Utube, Facebook, Orku…

---

## [Replacing Server ASP with Ruby (was Re: autogenerated ebuild](https://www.ruby-forum.com/t/replacing-server-asp-with-ruby-was-re-autogenerated-ebuild/81688)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 1\
**Last updated:** [January 11, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/replacing-server-asp-with-ruby-was-re-autogenerated-ebuild/81688 "2007-01-11T16:26:41Z")

</div>

On 1/11/07, Anjum P. removed\_email\_address@domain.invalid wrote: hello guys… i want to use ASP for my project for its user interface.for that i need some ASP engines on linux. But these engines are not free of cost. …

---

## [Re: Word Blender (#108)](https://www.ruby-forum.com/t/re-word-blender-108/81690)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 1\
**Last updated:** [January 11, 2007, 2:12pm UTC](https://www.ruby-forum.com/t/re-word-blender-108/81690 "2007-01-11T14:12:35Z")

</div>

Hi, New here. Hello. I’ve posted my shot at this quiz about 12 hours ago, but it doesn’t seem to have gone anywhere. What is the procedure for posting code? I included a zipped dictionary (~250k), would this have ca…

---

## [Autogenerated ebuilds (was Re: Tattle - The Ruby Census)](https://www.ruby-forum.com/t/autogenerated-ebuilds-was-re-tattle-the-ruby-census/81681)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [January 11, 2007, 10:55am UTC](https://www.ruby-forum.com/t/autogenerated-ebuilds-was-re-tattle-the-ruby-census/81681 "2007-01-11T10:55:12Z")

</div>

On 1/10/07, M. Edward (Ed) Borasky removed\_email\_address@domain.invalid wrote: maintain R packages on a Debian system. On Gentoo, there’s another set of “volunteers” that integrates Ruby packages into Portage, and the…

---

## [Statement outside of any method in a class](https://www.ruby-forum.com/t/statement-outside-of-any-method-in-a-class/81674)

<div class="topic-metadata">

**Author:** [@azgar](https://www.ruby-forum.com/u/azgar)\
**Replies:** 9\
**Last updated:** [January 11, 2007, 10:35am UTC](https://www.ruby-forum.com/t/statement-outside-of-any-method-in-a-class/81674 "2007-01-11T10:35:10Z")

</div>

Newbie question: In the following code: class Person \< ActiveRecord::Base validates\_presence\_of :first\_name end validates\_presence\_of is a method call that is specified outside of any method in class Person. Could…

---

## [Trouble with executing discrete testcase functions within a](https://www.ruby-forum.com/t/trouble-with-executing-discrete-testcase-functions-within-a/81600)

<div class="topic-metadata">

**Author:** [@KpKpKp](https://www.ruby-forum.com/u/KpKpKp)\
**Replies:** 4\
**Last updated:** [January 11, 2007, 9:41am UTC](https://www.ruby-forum.com/t/trouble-with-executing-discrete-testcase-functions-within-a/81600 "2007-01-11T09:41:01Z")

</div>

Hi, I was having some trouble trying to execute a set of testcase functions (to run Selenium tests) within a class inherited from the Test::Unit::TestCase class… the issue here is, I need access to individual functi…

---

## [PlRuby(Postgres) and require](https://www.ruby-forum.com/t/plruby-postgres-and-require/81504)

<div class="topic-metadata">

**Author:** [@Bertram\_S](https://www.ruby-forum.com/u/Bertram_S)\
**Replies:** 2\
**Last updated:** [January 11, 2007, 9:12am UTC](https://www.ruby-forum.com/t/plruby-postgres-and-require/81504 "2007-01-11T09:12:53Z")

</div>

Hi, in PlRuby I am defining functions and I would like to load some library: create function dummy() returns void language ‘plruby’ as $$ require “yaml” $$; select dummy(); This yields in an “ERROR: Insecure opera…

---

## [Wrapper around cronolog using pipes](https://www.ruby-forum.com/t/wrapper-around-cronolog-using-pipes/81680)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 0\
**Last updated:** [January 11, 2007, 7:24am UTC](https://www.ruby-forum.com/t/wrapper-around-cronolog-using-pipes/81680 "2007-01-11T07:24:44Z")

</div>

require “thread” require “open4” path\_to\_cron = which cronolog path\_to\_cron = path\_to\_cron.chomp DELAY\_TEMPLATES = { :daily =\> {:cmd\_string =\> "#{path\_to\_cron} ",:format\_string =\> “%Y/%m/%d”}, :hourly =\> {:cmd\_stri…

---

## [Rubyscript2exe FileUtils error](https://www.ruby-forum.com/t/rubyscript2exe-fileutils-error/81671)

<div class="topic-metadata">

**Author:** [@conker](https://www.ruby-forum.com/u/conker)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 4:40am UTC](https://www.ruby-forum.com/t/rubyscript2exe-fileutils-error/81671 "2007-01-11T04:40:25Z")

</div>

Hi, I am having trouble with rubyscript2exe when FileUtils is in my script. The error is easily reproducible: require “FileUtils” puts “Hello World” The error is: ruby\>ruby rubyscript2exe.rb hello.rb --rubyscript2ex…

---

## [Command Line Argument Processing](https://www.ruby-forum.com/t/command-line-argument-processing/81556)

<div class="topic-metadata">

**Author:** [@rlorimor](https://www.ruby-forum.com/u/rlorimor)\
**Replies:** 7\
**Last updated:** [January 11, 2007, 4:20am UTC](https://www.ruby-forum.com/t/command-line-argument-processing/81556 "2007-01-11T04:20:30Z")

</div>

What is everyone using (other than manually) to process command line arguments? I have looked at optparse (OptionParser) but it is not well documented. Is there something better? Or is there better documentation fo…

---

## [Deploying rails with lighttpd?](https://www.ruby-forum.com/t/deploying-rails-with-lighttpd/81665)

<div class="topic-metadata">

**Author:** [@Danny\_Yang](https://www.ruby-forum.com/u/Danny_Yang)\
**Replies:** 0\
**Last updated:** [January 11, 2007, 2:21am UTC](https://www.ruby-forum.com/t/deploying-rails-with-lighttpd/81665 "2007-01-11T02:21:12Z")

</div>

I followed these directions to deploy the sample “test” application at the bottom of the page: http://digitalmediaminute.com/howto/fc4rails/ but when i try to go to /test/contacts i get a 404-not found error. is ther…

---

## [Undefined Method \`free'](https://www.ruby-forum.com/t/undefined-method-free/81635)

<div class="topic-metadata">

**Author:** [@thekog](https://www.ruby-forum.com/u/thekog)\
**Replies:** 5\
**Last updated:** [January 11, 2007, 2:01am UTC](https://www.ruby-forum.com/t/undefined-method-free/81635 "2007-01-11T02:01:02Z")

</div>

I’ve got a CSV file that I’m trying to read from and insert the values into a mySQL DB. However whenever I run the script I get the following error: csvadd.rb:27: undefined method free' for nil:NilClass (NoMethodErro…

---

## [Installing gems from local machine only w/dependencies on wi](https://www.ruby-forum.com/t/installing-gems-from-local-machine-only-w-dependencies-on-wi/81640)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 1:47am UTC](https://www.ruby-forum.com/t/installing-gems-from-local-machine-only-w-dependencies-on-wi/81640 "2007-01-11T01:47:10Z")

</div>

I’m on WinXP, Ruby 1.8.5, Gems 0.9. I’m trying to install a gem that depends on other gems, all doing this locally without an internet connection. The Rails gem is a good example and the one that I’m experimenting wi…

---

## [Rubyforge 0.4.0 Released](https://www.ruby-forum.com/t/rubyforge-0-4-0-released/81641)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [January 10, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/rubyforge-0-4-0-released/81641 "2007-01-10T22:12:32Z")

</div>

rubyforge version 0.4.0 has been released! http://rubyforge.org/projects/codeforpeople A simplistic script which automates a limited set of rubyforge operations Run ‘rubyforge help’ for complete usage. Setup: For fi…

---

## [Is equivalent to \[A-Za-z0-9\]?](https://www.ruby-forum.com/t/is-equivalent-to-a-za-z0-9/81607)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/is-equivalent-to-a-za-z0-9/81607 "2007-01-10T20:35:19Z")

</div>

Hi, I’m trying to creating a regex that will match a string that starts and ends with an alphanumeric character, and has alphanumeric characters or dashes in the middle. This regex gives the expected result: irb(mai…

---

## [Updated One-click?](https://www.ruby-forum.com/t/updated-one-click/81593)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/updated-one-click/81593 "2007-01-10T20:20:18Z")

</div>

Hi all, I was wondering, what’s going on with one click? Is there going to be a new release for 1.8.5-p12? The mailing lists are pretty dead… On a side note, shouldn’t ruby-lang download page for windows point to -p…

---

## [Re: Variables starting with ":"](https://www.ruby-forum.com/t/re-variables-starting-with/81561)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/re-variables-starting-with/81561 "2007-01-10T18:56:50Z")

</div>

From: Eduardo S. What’s the diference between regular variables defined as, lets say “example”, and the ones defined as “:example” ? If there’s a difference, when should each case be used? Items that start with a …

---

## [Reminder: Milwaukee Ruby Users Group tonight at 5:30](https://www.ruby-forum.com/t/reminder-milwaukee-ruby-users-group-tonight-at-5-30/81624)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 0\
**Last updated:** [January 10, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/reminder-milwaukee-ruby-users-group-tonight-at-5-30/81624 "2007-01-10T18:54:03Z")

</div>

On the agenda: Testing in Rails by Joey G. Unit, Functional and Integration testing information and examples. For directions please see: http://www.mkerb.org/index.php/Meeting\_1/10/2007 See ya there, – Tom. – “No…

---

## [Connect to ta-lib from ruby](https://www.ruby-forum.com/t/connect-to-ta-lib-from-ruby/81621)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 0\
**Last updated:** [January 10, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/connect-to-ta-lib-from-ruby/81621 "2007-01-10T18:41:00Z")

</div>

Hello Is there any gem or api from Ruby to use Ta-Lib. I can see that you can use Perl/Pyton and even excel to use Ta-lib but no info on using ruby. Any info will be appreciated http://ta-lib.org/

---

## [Dynamically load methods from external source](https://www.ruby-forum.com/t/dynamically-load-methods-from-external-source/81617)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/dynamically-load-methods-from-external-source/81617 "2007-01-10T18:25:58Z")

</div>

I know this sounds like it could be a very bad thing to do, but I was wondering if there is a way to load methods into an already running app from an external source (database/file). I am building an app that would l…

---

## [Code organisation help request](https://www.ruby-forum.com/t/code-organisation-help-request/81375)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 10, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/code-organisation-help-request/81375 "2007-01-10T18:22:56Z")

</div>

Hello, I’ve written some ruby code that creates Fortran95 code to define and manipulate derived types (aka structures) as well as perform “regular” (what I ambiguously refer to as “Binary”) and netCDF I/O. Via a dri…

---

## [Language encoding](https://www.ruby-forum.com/t/language-encoding/81610)

<div class="topic-metadata">

**Author:** [@JSSSSrg\_Hagmann](https://www.ruby-forum.com/u/JSSSSrg_Hagmann)\
**Replies:** 1\
**Last updated:** [January 10, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/language-encoding/81610 "2007-01-10T17:20:33Z")

</div>

I have written a simple answer-question programme (to be used in the terminal) for students and I need French and German characters (Ã , Ã¼ etc.): I’ve written it in Emacs, on a mac, English keyboard and operating sy…

---

## [Elements of Ruby Style](https://www.ruby-forum.com/t/elements-of-ruby-style/81526)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 13\
**Last updated:** [January 10, 2007, 4:08pm UTC](https://www.ruby-forum.com/t/elements-of-ruby-style/81526 "2007-01-10T16:08:09Z")

</div>

Hello all, I’m happy announce a project that I’ve been working on for a little while. I’ve noticed that a lot of posts on the mailing are “what’s the most rubyish way to do (x)?” where x could be transversing a file …

---

## [Re: String performance](https://www.ruby-forum.com/t/re-string-performance/81555)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 10\
**Last updated:** [January 10, 2007, 1:55pm UTC](https://www.ruby-forum.com/t/re-string-performance/81555 "2007-01-10T13:55:35Z")

</div>

From: Vincent F. user system total real 0.010000 0.000000 0.010000 ( 0.009087) 0.010000 0.000000 0.010000 ( 0.008774) 0.000000 0.000000 0.000000 ( 0.004621) Perhaps your machine is …

---

## [New Ajax/Rails Web Site Released: places2go.org](https://www.ruby-forum.com/t/new-ajax-rails-web-site-released-places2go-org/81599)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 10, 2007, 1:06pm UTC](https://www.ruby-forum.com/t/new-ajax-rails-web-site-released-places2go-org/81599 "2007-01-10T13:06:32Z")

</div>

Hello guys, Places2Go.org: is a new site i have just released, still in beta. It allows you to store your favorite places in your home town or anywhere in the world. The initial idea was to do something like deliciou…

---

## [Regex query](https://www.ruby-forum.com/t/regex-query/81592)

<div class="topic-metadata">

**Author:** [@Manoj\_P\_M](https://www.ruby-forum.com/u/Manoj_P_M)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/regex-query/81592 "2007-01-10T12:07:26Z")

</div>

Hi, A Simple question on regular expression in ruby. Some can make me understand the below code snippets. I was under the impression that both these statement would give the same answer. But it doesnt. Why ? irb(main…

---

## [Ruby intergation with barcode scanner](https://www.ruby-forum.com/t/ruby-intergation-with-barcode-scanner/81590)

<div class="topic-metadata">

**Author:** [@madsurfer](https://www.ruby-forum.com/u/madsurfer)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 11:49am UTC](https://www.ruby-forum.com/t/ruby-intergation-with-barcode-scanner/81590 "2007-01-10T11:49:19Z")

</div>

Hi I was wondering whether any one had got any experience or software to access the USB ports. I have got a rs232 scanner that I can connect to a USB port. I would like to get it to work to read ISBN numbers so I can …

---

## [Instance\_eval](https://www.ruby-forum.com/t/instance-eval/81500)

<div class="topic-metadata">

**Author:** [@Sachin\_Gadkar](https://www.ruby-forum.com/u/Sachin_Gadkar)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 10:07am UTC](https://www.ruby-forum.com/t/instance-eval/81500 "2007-01-10T10:07:51Z")

</div>

Hi all, I wanted to know the best place where I can find how instance\_eval works. I also wanted to know how the implementation of .each { } in implemented for Array class. I also need to say that I have been new to…

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

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