# Ruby

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

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

---

## [Filling PDF Forms (a year later follow up)](https://www.ruby-forum.com/t/filling-pdf-forms-a-year-later-follow-up/80208)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 8:06am UTC](https://www.ruby-forum.com/t/filling-pdf-forms-a-year-later-follow-up/80208 "2006-12-22T08:06:48Z")

</div>

I’m posting this message as a follow up to a thread I was talking on a year ago: titled “Filling PDF Forms” So here we are a year later and I’m finally getting to use the PDF form filling via the RJB (Ruby Java Bridg…

---

## [|song| Not documented in Pickaxe Book](https://www.ruby-forum.com/t/song-not-documented-in-pickaxe-book/80199)

<div class="topic-metadata">

**Author:** [@SamSl\_B](https://www.ruby-forum.com/u/SamSl_B)\
**Replies:** 10\
**Last updated:** [December 22, 2006, 7:42am UTC](https://www.ruby-forum.com/t/song-not-documented-in-pickaxe-book/80199 "2006-12-22T07:42:47Z")

</div>

Pickaxe Book (2nd Ed.), P. 49, 2nd example, line 3: @songs.find {|song| title == song.name } I can't find a definition of the "|song|" construction in the book. It is intuitively obvious that it is a variable, and a …

---

## [Creating New Objects from REXML::Elements](https://www.ruby-forum.com/t/creating-new-objects-from-rexml-elements/80077)

<div class="topic-metadata">

**Author:** [@eddieroger](https://www.ruby-forum.com/u/eddieroger)\
**Replies:** 9\
**Last updated:** [December 22, 2006, 7:20am UTC](https://www.ruby-forum.com/t/creating-new-objects-from-rexml-elements/80077 "2006-12-22T07:20:45Z")

</div>

Hello group, I’m new to using REXML to parse documents, but quickly getting the hang of it. Something, however, is giving me a little trouble, so I could use some help. I’m trying to create a new object, specifically …

---

## [Just starting out, where do I go from here?](https://www.ruby-forum.com/t/just-starting-out-where-do-i-go-from-here/80154)

<div class="topic-metadata">

**Author:** [@disparu](https://www.ruby-forum.com/u/disparu)\
**Replies:** 7\
**Last updated:** [December 22, 2006, 7:14am UTC](https://www.ruby-forum.com/t/just-starting-out-where-do-i-go-from-here/80154 "2006-12-22T07:14:04Z")

</div>

This is my first experience with any kind of programming language. I purchased The Pragmatic Programmers Guide (for Ruby) aka “Pickaxe.” I started to read through it, but found it dived in a bit too deep initially; ma…

---

## [Aws/s3 0.3.0 release](https://www.ruby-forum.com/t/aws-s3-0-3-0-release/80206)

<div class="topic-metadata">

**Author:** [@Marcel\_Molina\_Jr](https://www.ruby-forum.com/u/Marcel_Molina_Jr)\
**Replies:** 0\
**Last updated:** [December 22, 2006, 6:08am UTC](https://www.ruby-forum.com/t/aws-s3-0-3-0-release/80206 "2006-12-22T06:08:38Z")

</div>

aws/s3 is client library for Amazon’s Simple Storage Service’s REST API (http://amazon.rubyforge.org). 0.3.0 is a feature release along with several enhancements and bug fixes reported by the community. One important…

---

## [Weird error while reading binary files](https://www.ruby-forum.com/t/weird-error-while-reading-binary-files/80203)

<div class="topic-metadata">

**Author:** [@kishi](https://www.ruby-forum.com/u/kishi)\
**Replies:** 4\
**Last updated:** [December 22, 2006, 4:28am UTC](https://www.ruby-forum.com/t/weird-error-while-reading-binary-files/80203 "2006-12-22T04:28:10Z")

</div>

Hello everyone! I just started messing around with Ruby and so far it’s been great. Somehow I’ve stepped into some weird error I can’t understand nor solve it… I’ve been trying to google about it but with no results… …

---

## [Problem with pagination, rails](https://www.ruby-forum.com/t/problem-with-pagination-rails/80202)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 2\
**Last updated:** [December 22, 2006, 4:18am UTC](https://www.ruby-forum.com/t/problem-with-pagination-rails/80202 "2006-12-22T04:18:29Z")

</div>

lo there all, i am having some trouble getting pagination going the way i need for a rails app. the controller looks like this def summary @site\_pages, @sites = paginate(:sites, :conditions =\> \[‘group\_id = ?’, @gr…

---

## [Where have all the experienced users gone?](https://www.ruby-forum.com/t/where-have-all-the-experienced-users-gone/79938)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 16\
**Last updated:** [December 22, 2006, 1:16am UTC](https://www.ruby-forum.com/t/where-have-all-the-experienced-users-gone/79938 "2006-12-22T01:16:10Z")

</div>

seems like there’s been a steady drop off in experienced ruby users on the list. is it me or has there really been some sort of migration away? t.

---

## [Ruby-prof doesn't work with ruby/tk?](https://www.ruby-forum.com/t/ruby-prof-doesnt-work-with-ruby-tk/80056)

<div class="topic-metadata">

**Author:** [@fkc\_email-news\_S\_ya](https://www.ruby-forum.com/u/fkc_email-news_S_ya)\
**Replies:** 2\
**Last updated:** [December 21, 2006, 11:25pm UTC](https://www.ruby-forum.com/t/ruby-prof-doesnt-work-with-ruby-tk/80056 "2006-12-21T23:25:58Z")

</div>

I’ve tried on several platforms and get the follow error with any tk code. \[Forrest@Mori ~/\<1\>masc\_log\_viewer/lib\]$ ruby-prof tkcombobox.rb /usr/lib/ruby/gems/1.8/gems/ruby-prof-0.4.1/bin/ruby-prof:128:in \`stop’: Unk…

---

## [Method named \*\*\*(other)](https://www.ruby-forum.com/t/method-named-other/80134)

<div class="topic-metadata">

**Author:** [@julien51](https://www.ruby-forum.com/u/julien51)\
**Replies:** 14\
**Last updated:** [December 21, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/method-named-other/80134 "2006-12-21T23:11:56Z")

</div>

Hi! It’s several hours now that i’m trying to find out what’s special with \*\*\* for a method name, without success :frowning: I’m trying to add an element wise multiplication method to the Matrix class. For this I cre…

---

## [Prob with each\_with\_index](https://www.ruby-forum.com/t/prob-with-each-with-index/80167)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 3\
**Last updated:** [December 21, 2006, 10:57pm UTC](https://www.ruby-forum.com/t/prob-with-each-with-index/80167 "2006-12-21T22:57:52Z")

</div>

lo there all, i am having a problem making each\_with\_index do what i need it to do. the issue is… i need to evaluate the gpm of a flow sensor. we are skipping over three database entries to get the values. differenc…

---

## [Ruby Cookbook review](https://www.ruby-forum.com/t/ruby-cookbook-review/80122)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [December 21, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/ruby-cookbook-review/80122 "2006-12-21T21:11:36Z")

</div>

Hello, A few days ago there was a request for the review of the RC. I guess I am kind of late to the party, but since I promised I will post it here when I am ready, here we go: http://www.rubyrailways.com/book-revie…

---

## [Chess960 (#106)](https://www.ruby-forum.com/t/chess960-106/80117)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 7\
**Last updated:** [December 21, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/chess960-106/80117 "2006-12-21T20:21:21Z")

</div>

There are a surprising number of ways to think about this problem, each leading to a different solution. Let’s examine several. First, you can think of this as a constraints problem. We have the rules of a board s…

---

## [Nitro Real World Example](https://www.ruby-forum.com/t/nitro-real-world-example/80133)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 1\
**Last updated:** [December 21, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/nitro-real-world-example/80133 "2006-12-21T20:19:20Z")

</div>

Dear devs, given the fact that a lot of newcomers to the Nitro framework are struggling to get to grips with the more esoteric features of Nitro, I decided to release an excerpt from the source code of www.cull.gr, a …

---

## [Kernel#system bug?](https://www.ruby-forum.com/t/kernel-system-bug/80036)

<div class="topic-metadata">

**Author:** [@charlton](https://www.ruby-forum.com/u/charlton)\
**Replies:** 7\
**Last updated:** [December 21, 2006, 7:45pm UTC](https://www.ruby-forum.com/t/kernel-system-bug/80036 "2006-12-21T19:45:12Z")

</div>

Running Ruby 1.8.4 on Linux This problem seems to exist with the system() function but also has the same problem with IO#popen. Seems the working directory of a subshell can be affected by the command being executed? …

---

## [WEBrick and swf files](https://www.ruby-forum.com/t/webrick-and-swf-files/80139)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 2\
**Last updated:** [December 21, 2006, 7:41pm UTC](https://www.ruby-forum.com/t/webrick-and-swf-files/80139 "2006-12-21T19:41:08Z")

</div>

Hi, I am having trouble getting Mozilla firefox to load a swf file served from WEBrick. When I access the same file from another web server in firefox, it works fine (apache, abyss, etc) When I access the file from I…

---

## [Tree view hierarchy](https://www.ruby-forum.com/t/tree-view-hierarchy/80119)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 5\
**Last updated:** [December 21, 2006, 7:39pm UTC](https://www.ruby-forum.com/t/tree-view-hierarchy/80119 "2006-12-21T19:39:08Z")

</div>

Tree view displayed on web page looks like this: Smoking Survey & Feedback Depression Survey & Feedback Stress Management Survey & Feedback Weight Management Exercise Survey & Feedback Healthy Eating Survey & …

---

## [Chronic 0.1.5 Released](https://www.ruby-forum.com/t/chronic-0-1-5-released/80137)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 0\
**Last updated:** [December 21, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/chronic-0-1-5-released/80137 "2006-12-21T17:32:47Z")

</div>

chronic version 0.1.5 has been released! http://chronic.rubyforge.org/ by Tom Preston-Werner Chronic is a natural language date/time parser written in pure Ruby. See the above url for a variety of formats Chronic wil…

---

## [Extend weirdness?](https://www.ruby-forum.com/t/extend-weirdness/80123)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 4\
**Last updated:** [December 21, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/extend-weirdness/80123 "2006-12-21T17:26:46Z")

</div>

Hi Group, This code: module Foo def self.included(base) base.class\_eval \<\<-end\_eval def self.meth “Foo” end end\_eval end end module Bar def self.included(base) base.class\_eval do extend ClassMethod…

---

## [Matrix class for ruby?](https://www.ruby-forum.com/t/matrix-class-for-ruby/80114)

<div class="topic-metadata">

**Author:** [@seepee](https://www.ruby-forum.com/u/seepee)\
**Replies:** 4\
**Last updated:** [December 21, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/matrix-class-for-ruby/80114 "2006-12-21T16:54:39Z")

</div>

Does anyone know of a functional Matrix math class for ruby that could multiply, add and substract 3x2 or larger matrices. The matrix.rb that is in Ruby API cannot multiply anything larger than 2x2 matrices, which ma…

---

## [Symbols vs Strings](https://www.ruby-forum.com/t/symbols-vs-strings/80071)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 6\
**Last updated:** [December 21, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/symbols-vs-strings/80071 "2006-12-21T16:48:37Z")

</div>

Two quick questions: Could someone expand on what a symbol is? The Programming Ruby book seems to outline that a symbol is a string with a colon in front of it. The Agile Rails book calls it "the thing named … " …

---

## [Re: Common point puzzle](https://www.ruby-forum.com/t/re-common-point-puzzle/80116)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [December 21, 2006, 3:14pm UTC](https://www.ruby-forum.com/t/re-common-point-puzzle/80116 "2006-12-21T15:14:26Z")

</div>

Dear Bill, what about something like this ? an example set of graphs - hashes with names and sets of coordinates as values all\_graphs={‘coarsest’,\[\[1,2\],\[3,4\]\],‘subgraph’,\[\[1,2\],\[3,4\],\[1.5,2\],\[3.5,4\]\], ‘subsubgraph’…

---

## [Assignment method strangeness](https://www.ruby-forum.com/t/assignment-method-strangeness/79159)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 10\
**Last updated:** [December 21, 2006, 1:24pm UTC](https://www.ruby-forum.com/t/assignment-method-strangeness/79159 "2006-12-21T13:24:18Z")

</div>

Assignment methods are weird, and I wish they acted more like regular methods. It seems like they could be, but the parser doesn’t properly parse the usage. Let me show you what I mean. Assignment methods can’t tak…

---

## [Suggestions for 'AutoOffice'?](https://www.ruby-forum.com/t/suggestions-for-autooffice/80014)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 1\
**Last updated:** [December 21, 2006, 11:58am UTC](https://www.ruby-forum.com/t/suggestions-for-autooffice/80014 "2006-12-21T11:58:04Z")

</div>

After using Ruby’s win32ole library to automate some menial tasks at work with MS Office, I started putting some frequently used methods together in a library. I’d like to release a gem soon that could possibly be us…

---

## [ParseTree 1.6.3 Released](https://www.ruby-forum.com/t/parsetree-1-6-3-released/80037)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [December 21, 2006, 10:57am UTC](https://www.ruby-forum.com/t/parsetree-1-6-3-released/80037 "2006-12-21T10:57:51Z")

</div>

ParseTree version 1.6.3 has been released! zenspider projects | software projects | by ryan davis ParseTree is a C extension (using RubyInline) that extracts the parse tree for an entire class or a specific method and…

---

## [Apache2 + eruby problem](https://www.ruby-forum.com/t/apache2-eruby-problem/79950)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 3\
**Last updated:** [December 21, 2006, 9:51am UTC](https://www.ruby-forum.com/t/apache2-eruby-problem/79950 "2006-12-21T09:51:44Z")

</div>

I can get Apache2 on Ubuntu Edgy to execute ruby (.rb) files. But I’m having trouble getting it to recognize .rhtml files. Here is the sites-available file. /etc/apache2/sites-available/www.site.local: \<VirtualHost …

---

## [Question regarding threads and I/O](https://www.ruby-forum.com/t/question-regarding-threads-and-i-o/79675)

<div class="topic-metadata">

**Author:** [@Michael\_WSRyder](https://www.ruby-forum.com/u/Michael_WSRyder)\
**Replies:** 13\
**Last updated:** [December 21, 2006, 9:31am UTC](https://www.ruby-forum.com/t/question-regarding-threads-and-i-o/79675 "2006-12-21T09:31:43Z")

</div>

I am a veteran programmer but still am trying to learn Ruby. In the language I have been using for over 25 years input has an option to terminate after x number of seconds, something that seems to be missing in Ruby.…

---

## [Tricky sort for happy visitors of Paris](https://www.ruby-forum.com/t/tricky-sort-for-happy-visitors-of-paris/79966)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 16\
**Last updated:** [December 21, 2006, 9:21am UTC](https://www.ruby-forum.com/t/tricky-sort-for-happy-visitors-of-paris/79966 "2006-12-21T09:21:40Z")

</div>

all happy visitors of Paris know about the ‘arrondissement’, an administrative division of the city… 20 divisions selecting them from a city table I can map them as : \[‘Paris 1’ , ‘Paris 10’ , ‘Paris 11’ , … ‘Paris…

---

## [Install ruby on linux cluster from shared disk -- can I just](https://www.ruby-forum.com/t/install-ruby-on-linux-cluster-from-shared-disk-can-i-just/80032)

<div class="topic-metadata">

**Author:** [@bradjpeek](https://www.ruby-forum.com/u/bradjpeek)\
**Replies:** 1\
**Last updated:** [December 21, 2006, 9:01am UTC](https://www.ruby-forum.com/t/install-ruby-on-linux-cluster-from-shared-disk-can-i-just/80032 "2006-12-21T09:01:39Z")

</div>

I’m having second thoughts on the approach I’ve started down for installing ruby on some Linux servers and would appreciate some input… I have two small clusters of identical Linux servers, each cluster shares a file…

---

## [Is there a Ruby library version problem with my ISP?](https://www.ruby-forum.com/t/is-there-a-ruby-library-version-problem-with-my-isp/80045)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 1\
**Last updated:** [December 21, 2006, 8:31am UTC](https://www.ruby-forum.com/t/is-there-a-ruby-library-version-problem-with-my-isp/80045 "2006-12-21T08:31:38Z")

</div>

I am running locally without any problem the following simple statement (detect first non-zero value…) nb\_cities\_alphabet = \[7, 21, 20, 1, 4, 1, 18, 3, 5, 1, 4, 48, 21, 8, 0, 31, 6, 10, 47, 7, 0, 1, 0, 0, 0, 0\] i …

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

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