# Ruby

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

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

---

## [Link\_to\_remote; how do I tweak the div to update?; Ajax on R](https://www.ruby-forum.com/t/link-to-remote-how-do-i-tweak-the-div-to-update-ajax-on-r/77593)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 2:31am UTC](https://www.ruby-forum.com/t/link-to-remote-how-do-i-tweak-the-div-to-update-ajax-on-r/77593 "2006-11-29T02:31:30Z")

</div>

I’m trying to update a specific div section by trying to add some embedded ruby code below. It’s not liking it though. You see below i’m trying to replace \>\>\> :update =\> “msg\_box\>”, \<\<\< with \>\>\> :update =\> “msg\_box\_\<…

---

## [Linux Journal lists ruby and Rails as Editors Choice](https://www.ruby-forum.com/t/linux-journal-lists-ruby-and-rails-as-editors-choice/77550)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 2:25am UTC](https://www.ruby-forum.com/t/linux-journal-lists-ruby-and-rails-as-editors-choice/77550 "2006-11-29T02:25:30Z")

</div>

LInux Journal Editors choose Ruby as Language choice and Rails as Web Application Framework in their Editor’s Choice 2006 column http://www.linuxjournal.com/article/9368

---

## ["yield" and "old-way iteration"](https://www.ruby-forum.com/t/yield-and-old-way-iteration/77586)

<div class="topic-metadata">

**Author:** [@Bjarke\_Walling](https://www.ruby-forum.com/u/Bjarke_Walling)\
**Replies:** 4\
**Last updated:** [November 29, 2006, 2:17am UTC](https://www.ruby-forum.com/t/yield-and-old-way-iteration/77586 "2006-11-29T02:17:29Z")

</div>

Hi, I am new to Ruby, but I find the language easy to learn and use. However I have some code that I think could be written smarter. I am writing a lexer and parser for a small language I have created. The first part…

---

## [BackgrounDRb 0.2.1 Release](https://www.ruby-forum.com/t/backgroundrb-0-2-1-release/77602)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 2:05am UTC](https://www.ruby-forum.com/t/backgroundrb-0-2-1-release/77602 "2006-11-29T02:05:26Z")

</div>

It’s that time again friends. skaar has been at it again and has greatly improved the stability of the new system. And Ara Howard has helped a ton by working with us on the slave library to iron out the wrinkles./ The…

---

## [\<\< == push?](https://www.ruby-forum.com/t/push/77566)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 4\
**Last updated:** [November 29, 2006, 2:03am UTC](https://www.ruby-forum.com/t/push/77566 "2006-11-29T02:03:26Z")

</div>

I was just prepping a code sample for somebody out in the big wide world, and doing that always makes me review my code, and I noticed I was using Array#push a lot instead of \<\< (I think that’s Array#\<\< actually?). S…

---

## [Automating installation of gems on remote machine with Capis](https://www.ruby-forum.com/t/automating-installation-of-gems-on-remote-machine-with-capis/77426)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 8\
**Last updated:** [November 29, 2006, 1:43am UTC](https://www.ruby-forum.com/t/automating-installation-of-gems-on-remote-machine-with-capis/77426 "2006-11-29T01:43:22Z")

</div>

Greetings, I’m wondering if anyone has used Capistrano to automate the installation of gems on remote machines. The problem I’m having is that when you install a gem from the command line, at various stages it will p…

---

## [Trapping keystrokes](https://www.ruby-forum.com/t/trapping-keystrokes/77569)

<div class="topic-metadata">

**Author:** [@tomuhs](https://www.ruby-forum.com/u/tomuhs)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 12:23am UTC](https://www.ruby-forum.com/t/trapping-keystrokes/77569 "2006-11-29T00:23:44Z")

</div>

Hi, guys. I’m a Python guy who is considering switching to Ruby. Quick question: In python in order to trap individual keystrokes in text mode, you have to import the curses library and write a program that initializ…

---

## [Slave-1.1.0](https://www.ruby-forum.com/t/slave-1-1-0/77533)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [November 29, 2006, 12:03am UTC](https://www.ruby-forum.com/t/slave-1-1-0/77533 "2006-11-29T00:03:06Z")

</div>

SYNOPSIS the Slave class forks a process and starts a drb server in the child using any object as the server. the process is detached so it is not required (nor possible) to wait on the child pid. a Heartbeat is s…

---

## [Has anyone successfully configured Cedet for emacs for ruby?](https://www.ruby-forum.com/t/has-anyone-successfully-configured-cedet-for-emacs-for-ruby/77471)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 2\
**Last updated:** [November 28, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/has-anyone-successfully-configured-cedet-for-emacs-for-ruby/77471 "2006-11-28T23:53:05Z")

</div>

I am trying to activate “intellisense” in Emacs using Cedet. Has anyone had success enabling this feature with Cedet and Emacs? (I am running this on a Linux box.)

---

## [VFS, Starkits and Starpacks](https://www.ruby-forum.com/t/vfs-starkits-and-starpacks/77208)

<div class="topic-metadata">

**Author:** [@oleg](https://www.ruby-forum.com/u/oleg)\
**Replies:** 1\
**Last updated:** [November 28, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/vfs-starkits-and-starpacks/77208 "2006-11-28T23:08:56Z")

</div>

Hi, I am new to Ruby. So far, I am really enjoying the language. But, I am a bit concerned about packaging applications written in Ruby. Has there been any thought to implementing something like Tcl’s VFS (see http…

---

## [Ruby DL extension and x86\_64](https://www.ruby-forum.com/t/ruby-dl-extension-and-x86-64/77583)

<div class="topic-metadata">

**Author:** [@Philip\_Murray](https://www.ruby-forum.com/u/Philip_Murray)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/ruby-dl-extension-and-x86-64/77583 "2006-11-28T22:32:51Z")

</div>

Hi, I’ve been trying to use the new GD2 bindings (http:// gd2.rubyforge.org), which have worked great… until I deployed on an x86\_64 server. Under 64bit, Ruby’s DL extension doesn’t pass the parameters to the shared…

---

## [Drawing borders in excel](https://www.ruby-forum.com/t/drawing-borders-in-excel/77564)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 5\
**Last updated:** [November 28, 2006, 10:18pm UTC](https://www.ruby-forum.com/t/drawing-borders-in-excel/77564 "2006-11-28T22:18:29Z")

</div>

Could anyone give me the line of code you would use to draw a border around a cell range in ruby? I know how to change the interior color of a cell like so: worksheet.Range(“a#{currRow}”).Interior\[‘ColorIndex’\] = 36 #…

---

## [Anyone know how to pass a reference cursor INTO a stored pro](https://www.ruby-forum.com/t/anyone-know-how-to-pass-a-reference-cursor-into-a-stored-pro/77570)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/anyone-know-how-to-pass-a-reference-cursor-into-a-stored-pro/77570 "2006-11-28T22:06:46Z")

</div>

I’m trying… tcursor = OCI8::Cursor.new(OCI8::@@env, OCI8::@svc, OCI8::@ctx) plsql.bind\_param(':st\_tier\_label\_in', tcursor, OCI8::Cursor) Error: ruby ste\_OCI8.rb C:/Develop/ruby/lib/ruby/site\_ruby/1.8/rubygems/cust…

---

## [Login IP remote in the logs Log4J](https://www.ruby-forum.com/t/login-ip-remote-in-the-logs-log4j/77474)

<div class="topic-metadata">

**Author:** [@Miguelon\_cosapi\_dat](https://www.ruby-forum.com/u/Miguelon_cosapi_dat)\
**Replies:** 3\
**Last updated:** [November 28, 2006, 8:58pm UTC](https://www.ruby-forum.com/t/login-ip-remote-in-the-logs-log4j/77474 "2006-11-28T20:58:30Z")

</div>

Hello friends, I hope can help me with the following thing: I have an application that uses the “Log4J”, which I want to know is that line I must add so that also it registers the IP address of the clients who accede …

---

## [Metacarta-geoparser 1.0.2 Released](https://www.ruby-forum.com/t/metacarta-geoparser-1-0-2-released/77464)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 3\
**Last updated:** [November 28, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/metacarta-geoparser-1-0-2-released/77464 "2006-11-28T20:52:28Z")

</div>

metacarta-geoparser version 1.0.2 has been released! http://dev.robotcoop.com/Libraries/metacarta-geoparser Map addresses to latitude and longitude with MetaCarta’s GeoParser API. Changes: = 1.0.2 Upgraded to rc-re…

---

## [Re: rand random. You've got to be kidding](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77562)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77562 "2006-11-28T20:34:23Z")

</div>

I want to think everyone for their replies.As usual, it was an operator error. I was using: file.sort{rand} instead of file.sort\_by{rand}. It’s strange how your eye passes over errors like this and fails to see it. …

---

## [Re: rand random. You've got to be kidding](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77552)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [November 28, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77552 "2006-11-28T20:18:16Z")

</div>

In a message dated 11/28/2006 11:08:19 A.M. US Mountain Standard Tim, removed\_email\_address@domain.invalid writes: Surely it must be possible to initialize rand with current date and time. Documents seem to indicate…

---

## [Vruby Question on Processing Keyboard Input](https://www.ruby-forum.com/t/vruby-question-on-processing-keyboard-input/77419)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [November 28, 2006, 8:12pm UTC](https://www.ruby-forum.com/t/vruby-question-on-processing-keyboard-input/77419 "2006-11-28T20:12:14Z")

</div>

I am new to Ruby and even newer to vruby so bear with me. I have a simple application that has a text box. I would like to track when the user hits Ctrl-C, Ctrl-X, Ctrl-A and Ctrl-V so that my program behaves the same…

---

## [Re: rand random. You've got to be kidding](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77554)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 7:58pm UTC](https://www.ruby-forum.com/t/re-rand-random-youve-got-to-be-kidding/77554 "2006-11-28T19:58:11Z")

</div>

In a message dated 11/28/2006 11:47:44 A.M. US Mountain Standard Tim, removed\_email\_address@domain.invalid writes: Surely it must be possible to initialize rand with current date and time. Documents seem to indicate…

---

## [Rand random. You've got to be kidding](https://www.ruby-forum.com/t/rand-random-youve-got-to-be-kidding/77547)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [November 28, 2006, 7:48pm UTC](https://www.ruby-forum.com/t/rand-random-youve-got-to-be-kidding/77547 "2006-11-28T19:48:08Z")

</div>

Surely it must be possible to initialize rand with current date and time. Documents seem to indicate this is done with rand(0) or srand with no value. I have tried both methods and I get the same tired old sequence o…

---

## [How to get data from html table](https://www.ruby-forum.com/t/how-to-get-data-from-html-table/77376)

<div class="topic-metadata">

**Author:** [@vikashkumar051](https://www.ruby-forum.com/u/vikashkumar051)\
**Replies:** 7\
**Last updated:** [November 28, 2006, 7:21pm UTC](https://www.ruby-forum.com/t/how-to-get-data-from-html-table/77376 "2006-11-28T19:21:58Z")

</div>

I want to store the values of a table in different variables, I have the following table structure: Case5-04 10/11/2006 23:24:33 Case5-04 1005 Sell 1,000 ARP $36.90 Case5…

---

## [How to write file before EOF](https://www.ruby-forum.com/t/how-to-write-file-before-eof/77473)

<div class="topic-metadata">

**Author:** [@sambo](https://www.ruby-forum.com/u/sambo)\
**Replies:** 11\
**Last updated:** [November 28, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/how-to-write-file-before-eof/77473 "2006-11-28T18:15:47Z")

</div>

how to write a file before its EOF by giving some position .

---

## [Update to AWDwR (and a special offer)](https://www.ruby-forum.com/t/update-to-awdwr-and-a-special-offer/77534)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/update-to-awdwr-and-a-special-offer/77534 "2006-11-28T18:03:44Z")

</div>

Folks: The final version of Agile Web D. with Rails went to the printer last Friday. This means that the paper book will start shipping sometime around December 15. You might want to grab the latest version of the PD…

---

## [Double mail from bulkmailer gem](https://www.ruby-forum.com/t/double-mail-from-bulkmailer-gem/77531)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/double-mail-from-bulkmailer-gem/77531 "2006-11-28T17:59:24Z")

</div>

hi…this gem is run solely from a standonly ruby program: require ‘bulkmail’ \<\<\<true BulkMail::server\_settings\[:authentication\]=“login” BulkMail::server\_settings\[:domain\]=“"\<\<my isp given domain name here BulkMail::…

---

## [Re: Is ruby a viable corporate alternative?](https://www.ruby-forum.com/t/re-is-ruby-a-viable-corporate-alternative/77527)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [November 28, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/re-is-ruby-a-viable-corporate-alternative/77527 "2006-11-28T17:29:31Z")

</div>

From: Mr P \[mailto:removed\_email\_address@domain.invalid\] Our team uses Perl for almost 100% of our projects, as we have for the past 10 year or so. At that point we broke from the C/C++ herd and never looked back. Ou…

---

## [Rubygems local install](https://www.ruby-forum.com/t/rubygems-local-install/77418)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 5\
**Last updated:** [November 28, 2006, 5:25pm UTC](https://www.ruby-forum.com/t/rubygems-local-install/77418 "2006-11-28T17:25:31Z")

</div>

This is part question - part comment… I’m installing a local (non-root) gems. I’ve succeeded in doing this, however I had a problem I thought I might bring to the attention of the community. First… installing on a D…

---

## [Help me design my exception classes](https://www.ruby-forum.com/t/help-me-design-my-exception-classes/77453)

<div class="topic-metadata">

**Author:** [@JSBSRainsberger](https://www.ruby-forum.com/u/JSBSRainsberger)\
**Replies:** 5\
**Last updated:** [November 28, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/help-me-design-my-exception-classes/77453 "2006-11-28T16:03:15Z")

</div>

Everyone: Being a Java programmer learning Ruby, I don’t want my Java-based prejudices about design pollute my thinking as I make the transition to being a fluent Ruby speaker. Accordingly, I’d like you to suggest to …

---

## [Anyone else getting weird flickr errors?](https://www.ruby-forum.com/t/anyone-else-getting-weird-flickr-errors/77086)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 13\
**Last updated:** [November 28, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/anyone-else-getting-weird-flickr-errors/77086 "2006-11-28T15:39:08Z")

</div>

When I post to RubyTalk, I’ve been getting a ‘your photo upload failed’ message from flickr. Weird! Anyone else seeing this?

---

## [Typing 'Input' on Displayed Text](https://www.ruby-forum.com/t/typing-input-on-displayed-text/77501)

<div class="topic-metadata">

**Author:** [@woodyee](https://www.ruby-forum.com/u/woodyee)\
**Replies:** 1\
**Last updated:** [November 28, 2006, 2:55pm UTC](https://www.ruby-forum.com/t/typing-input-on-displayed-text/77501 "2006-11-28T14:55:00Z")

</div>

Hi! While shopping this weekend, I noticed lots of department stores using an older ‘template’ on the checkout registers which had info displaying and they simply typed in the info and entered or tabbed to the next fi…

---

## [Callbacks](https://www.ruby-forum.com/t/callbacks/77494)

<div class="topic-metadata">

**Author:** [@gaurav\_bagga](https://www.ruby-forum.com/u/gaurav_bagga)\
**Replies:** 1\
**Last updated:** [November 28, 2006, 2:50pm UTC](https://www.ruby-forum.com/t/callbacks/77494 "2006-11-28T14:50:59Z")

</div>

Hi all, I was just going through mailing list posts i found word “callbacks” . was wondering whats a callback. I’ll appreciate if someone tells me what exactly one means by this. regards gaurav.

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

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