# Ruby

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

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

---

## [Could someone explain this CGI problem?](https://www.ruby-forum.com/t/could-someone-explain-this-cgi-problem/88879)

<div class="topic-metadata">

**Author:** [@lglglg](https://www.ruby-forum.com/u/lglglg)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 1:18pm UTC](https://www.ruby-forum.com/t/could-someone-explain-this-cgi-problem/88879 "2006-01-04T13:18:49Z")

</div>

the following code sequence cgi.div{ 1…3.times{ |i| cgi.div{ “hello from div” } } } produces 1..3 but i wanted to produce huhu huhu huhu could someone point me how to get the…

---

## [New to Ruby and Programming](https://www.ruby-forum.com/t/new-to-ruby-and-programming/55732)

<div class="topic-metadata">

**Author:** [@combray](https://www.ruby-forum.com/u/combray)\
**Replies:** 35\
**Last updated:** [January 4, 2006, 12:18pm UTC](https://www.ruby-forum.com/t/new-to-ruby-and-programming/55732 "2006-01-04T12:18:44Z")

</div>

Hi folks. Happy New Year! I have lurked for a little bit to see what this list is like. I am please to see how helpful people are. I have a couple of questions for someone starting out with Ruby and Programming in g…

---

## [Need script: convert html-text to text](https://www.ruby-forum.com/t/need-script-convert-html-text-to-text/51611)

<div class="topic-metadata">

**Author:** [@keal](https://www.ruby-forum.com/u/keal)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 12:00pm UTC](https://www.ruby-forum.com/t/need-script-convert-html-text-to-text/51611 "2006-01-04T12:00:43Z")

</div>

i have html-text. i have to convert this text to simple text without html-tags.

---

## [FXRuby Samples](https://www.ruby-forum.com/t/fxruby-samples/89329)

<div class="topic-metadata">

**Author:** [@forest](https://www.ruby-forum.com/u/forest)\
**Replies:** 1\
**Last updated:** [January 4, 2006, 11:15am UTC](https://www.ruby-forum.com/t/fxruby-samples/89329 "2006-01-04T11:15:31Z")

</div>

FXRuby documentation says that you should use fox binding by require ‘rubygems’ require\_gem ‘fxruby’ but in the fxruby-1.2.6-mswin32 gem samples it’s just require\_gem ‘fox12’ and I get No such file to load – fox12…

---

## [Net::HTTP.post\_form method undefined?](https://www.ruby-forum.com/t/net-http-post-form-method-undefined/56150)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 10:45am UTC](https://www.ruby-forum.com/t/net-http-post-form-method-undefined/56150 "2006-01-04T10:45:16Z")

</div>

I’m trying to do a POST using net/http. When I do: r = Net::HTTP.post\_form(u,{‘volumectrl’=\>’-20’}) I get: NoMethodError: undefined method \`post\_form’ for Net::HTTP:Class from (irb):5 What am I doing wrong? Thanks…

---

## [Using Tk or Fox with a ruby interpreter embedded in a C appl](https://www.ruby-forum.com/t/using-tk-or-fox-with-a-ruby-interpreter-embedded-in-a-c-appl/89065)

<div class="topic-metadata">

**Author:** [@Ivan\_Muzzolini](https://www.ruby-forum.com/u/Ivan_Muzzolini)\
**Replies:** 1\
**Last updated:** [January 4, 2006, 4:34am UTC](https://www.ruby-forum.com/t/using-tk-or-fox-with-a-ruby-interpreter-embedded-in-a-c-appl/89065 "2006-01-04T04:34:22Z")

</div>

Hi! I’m using the ruby interpreter inside a console application written in C. I compile the C code with the freely downloadable version of the Microsoft Compiler (Visual C++ Toolkit 2003) and the Ruby182-15 ( the Wind…

---

## [Rake appdoc problem on winXP](https://www.ruby-forum.com/t/rake-appdoc-problem-on-winxp/50983)

<div class="topic-metadata">

**Author:** [@Gazer](https://www.ruby-forum.com/u/Gazer)\
**Replies:** 2\
**Last updated:** [January 4, 2006, 4:21am UTC](https://www.ruby-forum.com/t/rake-appdoc-problem-on-winxp/50983 "2006-01-04T04:21:51Z")

</div>

Hi, I’m having problem with running “rake appdoc” to generate the documentation for rails application. I’m receiving next error message: (in d:/work/RailsTest/testapp) rm -r doc/app rdoc -o doc/app --line-numbers -…

---

## [Talking to Java Code from Ruby](https://www.ruby-forum.com/t/talking-to-java-code-from-ruby/51079)

<div class="topic-metadata">

**Author:** [@kevben](https://www.ruby-forum.com/u/kevben)\
**Replies:** 2\
**Last updated:** [January 4, 2006, 3:58am UTC](https://www.ruby-forum.com/t/talking-to-java-code-from-ruby/51079 "2006-01-04T03:58:15Z")

</div>

I’m attempting to use YAJB to talk to JasperReports from Ruby. Please scream at me right now if there’s a better way to get to JasperReports. This is what I have so far: -------------------BEGIN------------------ re…

---

## [RAA download link issue?](https://www.ruby-forum.com/t/raa-download-link-issue/89238)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 1\
**Last updated:** [January 4, 2006, 3:28am UTC](https://www.ruby-forum.com/t/raa-download-link-issue/89238 "2006-01-04T03:28:09Z")

</div>

Hi all, Has anyone else noticed the download link on their RAA project randomly changing to one of their other projects? When it happens, my projects always seem to switch to the download link for win32-open3 for som…

---

## [Help on I/O pipe](https://www.ruby-forum.com/t/help-on-i-o-pipe/51567)

<div class="topic-metadata">

**Author:** [@cookoo](https://www.ruby-forum.com/u/cookoo)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 3:00am UTC](https://www.ruby-forum.com/t/help-on-i-o-pipe/51567 "2006-01-04T03:00:59Z")

</div>

One process of my analysis program uses an external non-linear optimizer. That optimizer needs a model file as the argument. The current approach I employ to accomplish this is to create a model file on disk everytim…

---

## [Toronto Ruby User Group meeting Sun 8 Jan 2005](https://www.ruby-forum.com/t/toronto-ruby-user-group-meeting-sun-8-jan-2005/87880)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 7\
**Last updated:** [January 4, 2006, 2:45am UTC](https://www.ruby-forum.com/t/toronto-ruby-user-group-meeting-sun-8-jan-2005/87880 "2006-01-04T02:45:56Z")

</div>

Happy new year to everyone. The next meeting of the Toronto Ruby U. Group is on Sunday 8 January 2006 at the Linux Caffe at 13:00. http://www.trug.ca/ Sun\_Jan\_08%2C\_2006 Mike – Mike S. removed\_email\_address@domain…

---

## [Exerb and GUI's](https://www.ruby-forum.com/t/exerb-and-guis/51592)

<div class="topic-metadata">

**Author:** [@dirk](https://www.ruby-forum.com/u/dirk)\
**Replies:** 4\
**Last updated:** [January 4, 2006, 2:45am UTC](https://www.ruby-forum.com/t/exerb-and-guis/51592 "2006-01-04T02:45:56Z")

</div>

hi everyone :slight\_smile: i was wondering if i can pack applications with GUI’s using exerb, and which GUI’s, and how… also, if there is any english documentation concerning this, could someone point me to it? gr…

---

## [Changes to Ruby since pick-axe book came out](https://www.ruby-forum.com/t/changes-to-ruby-since-pick-axe-book-came-out/56144)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Q](https://www.ruby-forum.com/u/Asfand_Yar_Q)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 2:27am UTC](https://www.ruby-forum.com/t/changes-to-ruby-since-pick-axe-book-came-out/56144 "2006-01-04T02:27:49Z")

</div>

Hi, I’d be interested in knowing a list of changes made to Ruby since the pick-axe book came out. You know, to staple to the inside back cover so that I know these things when I need them… Spank you smelly much in a…

---

## [Block and method local variables](https://www.ruby-forum.com/t/block-and-method-local-variables/51596)

<div class="topic-metadata">

**Author:** [@SSSISO-8859-1SQSDan](https://www.ruby-forum.com/u/SSSISO-8859-1SQSDan)\
**Replies:** 3\
**Last updated:** [January 4, 2006, 2:09am UTC](https://www.ruby-forum.com/t/block-and-method-local-variables/51596 "2006-01-04T02:09:39Z")

</div>

hello all, consider follow code irb(main):528:0\* def abc irb(main):529:1\> ppp=111 irb(main):530:1\> puts ppp irb(main):531:1\> yield irb(main):532:1\> puts ppp irb(main):533:1\> ppp irb(main):534:1\> end =\> nil irb(…

---

## [Ruby on Rails adoption rate?](https://www.ruby-forum.com/t/ruby-on-rails-adoption-rate/89191)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 4, 2006, 1:56am UTC](https://www.ruby-forum.com/t/ruby-on-rails-adoption-rate/89191 "2006-01-04T01:56:25Z")

</div>

Does anyone have information on the RoR adoption rate? I’ve been looking for some statistics on how many downloads/new projects/job postings/resumes/etc there are that are related to Ruby on Rails. Any help is much a…

---

## [More on the fundamentals](https://www.ruby-forum.com/t/more-on-the-fundamentals/51570)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 1:44am UTC](https://www.ruby-forum.com/t/more-on-the-fundamentals/51570 "2006-01-04T01:44:09Z")

</div>

Please have a look at the comments below to see that I’m understanding things correctly; #!/usr/bin/ruby #Tue Jan 3 14:04:28 GMT 2006 class Greeter # a new class cllaed Greeter def initialize(name) # creating a n…

---

## [Singleton methods vs. class instance vars](https://www.ruby-forum.com/t/singleton-methods-vs-class-instance-vars/56142)

<div class="topic-metadata">

**Author:** [@Peter\_Lacey](https://www.ruby-forum.com/u/Peter_Lacey)\
**Replies:** 0\
**Last updated:** [January 4, 2006, 12:48am UTC](https://www.ruby-forum.com/t/singleton-methods-vs-class-instance-vars/56142 "2006-01-04T00:48:39Z")

</div>

Hi, I’m liberally helping myself to some of the ActiveRecord code. In this code there are a handful of class methods that dynamically create singleton methods to override the base methods. A simplified version foll…

---

## [Ruby users in the SE Wyoming / W Nebraska region?](https://www.ruby-forum.com/t/ruby-users-in-the-se-wyoming-w-nebraska-region/56141)

<div class="topic-metadata">

**Author:** [@kirkhoward](https://www.ruby-forum.com/u/kirkhoward)\
**Replies:** 0\
**Last updated:** [January 4, 2006, 12:36am UTC](https://www.ruby-forum.com/t/ruby-users-in-the-se-wyoming-w-nebraska-region/56141 "2006-01-04T00:36:02Z")

</div>

Just curious to see if there’s anyoue else out there yet from the southeastern corner of Wyoming or the Nebraska panhandle? Kirk H. A bit east of Chugwater, WY

---

## [Mailing list question](https://www.ruby-forum.com/t/mailing-list-question/56135)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 7\
**Last updated:** [January 3, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/mailing-list-question/56135 "2006-01-03T23:27:24Z")

</div>

I’d like to not receive the email that I send to the list (gmail already shows the sent version). I snooped around, but couldn’t find a way to do it. Any ideas?

---

## [Mod\_ruby](https://www.ruby-forum.com/t/mod-ruby/89018)

<div class="topic-metadata">

**Author:** [@ImperfectFreak](https://www.ruby-forum.com/u/ImperfectFreak)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 11:15pm UTC](https://www.ruby-forum.com/t/mod-ruby/89018 "2006-01-03T23:15:13Z")

</div>

I am running FreeBSD on my server, I have Apache 1.3.33 running. I have installed mod\_ruby, I think. I added “Include /usr/local/etc/apache/httpd.conf.mod\_ruby” to httpd.conf. I have a file called test.rbx all it has …

---

## [DSL help?](https://www.ruby-forum.com/t/dsl-help/89015)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 5\
**Last updated:** [January 3, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/dsl-help/89015 "2006-01-03T22:53:46Z")

</div>

Hey rubyists- I was wondering if someone could help me make this small dsl I wrote into a little bit better syntax. The Cond class just takes a block in its constructor and converts what’s inside the block into an sql …

---

## [New to Ruby needs help](https://www.ruby-forum.com/t/new-to-ruby-needs-help/51588)

<div class="topic-metadata">

**Author:** [@beginner](https://www.ruby-forum.com/u/beginner)\
**Replies:** 0\
**Last updated:** [January 3, 2006, 10:50pm UTC](https://www.ruby-forum.com/t/new-to-ruby-needs-help/51588 "2006-01-03T22:50:29Z")

</div>

Dear Gurus, I would like to call a Win32API dll from ruby and I did the following: require ‘Win32API’ dwtest = “” \* 8 shell1=Win32API.new(“my.dll”, “myfunc”,\[‘P’,‘P’,‘P’\],‘L’) myfunc takes 3 parameters, &dwerror, &d…

---

## [Rdoc dot configuration on os x](https://www.ruby-forum.com/t/rdoc-dot-configuration-on-os-x/51551)

<div class="topic-metadata">

**Author:** [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Replies:** 1\
**Last updated:** [January 3, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/rdoc-dot-configuration-on-os-x/51551 "2006-01-03T22:15:41Z")

</div>

This is probably a bit more of a mac question, but here goes. I am trying to use rdoc -d to generate class diagrams on a mac running Tiger (OS X 10.4) for a rails app. I managed to get dot installed, but now am runni…

---

## [\[ANN\] SwitchTower 0.10.0](https://www.ruby-forum.com/t/ann-switchtower-0-10-0/87408)

<div class="topic-metadata">

**Author:** [@jamis](https://www.ruby-forum.com/u/jamis)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/ann-switchtower-0-10-0/87408 "2006-01-03T22:09:10Z")

</div>

SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your server…

---

## [KirbyBase 2.5.2](https://www.ruby-forum.com/t/kirbybase-2-5-2/56133)

<div class="topic-metadata">

**Author:** [@Jamey\_C](https://www.ruby-forum.com/u/Jamey_C)\
**Replies:** 0\
**Last updated:** [January 3, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/kirbybase-2-5-2/56133 "2006-01-03T21:43:31Z")

</div>

I would like to announce the release of version 2.5.2 of KirbyBase, a small, pure-Ruby database management system that stores it’s data in plain-text files. You can download it here: Windows: http://www.netpromi.com…

---

## [XML pretty printing?](https://www.ruby-forum.com/t/xml-pretty-printing/51577)

<div class="topic-metadata">

**Author:** [@Chris\_McMahon](https://www.ruby-forum.com/u/Chris_McMahon)\
**Replies:** 3\
**Last updated:** [January 3, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/xml-pretty-printing/51577 "2006-01-03T21:31:11Z")

</div>

Hi… Is there something in Ruby that will make XML look nice on STDOUT? -Chris

---

## [New project: Ruby Message System (RMS)](https://www.ruby-forum.com/t/new-project-ruby-message-system-rms/51254)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 12\
**Last updated:** [January 3, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/new-project-ruby-message-system-rms/51254 "2006-01-03T21:15:43Z")

</div>

I have relied on guarenteed delivery asynchronous messaging to build large scale systems for 20 years. I was surprised when I could not find something simular to Java’s JMS for Ruby so I decided to build my own and re…

---

## [Adding an Observer to Test::Unit::TestResult](https://www.ruby-forum.com/t/adding-an-observer-to-test-testresult/51579)

<div class="topic-metadata">

**Author:** [@cgmjr](https://www.ruby-forum.com/u/cgmjr)\
**Replies:** 0\
**Last updated:** [January 3, 2006, 9:09pm UTC](https://www.ruby-forum.com/t/adding-an-observer-to-test-testresult/51579 "2006-01-03T21:09:35Z")

</div>

Can anyone share with me on how you would subscribe to Test::Unit::TestResult with a Observer? Currently I have working this, but it seems clumsy to me: require ‘test/unit’ require ‘enumerator’ class Report\_failure …

---

## [Need Help Using Net::SMTP](https://www.ruby-forum.com/t/need-help-using-net-smtp/51311)

<div class="topic-metadata">

**Author:** [@dandiebolt](https://www.ruby-forum.com/u/dandiebolt)\
**Replies:** 7\
**Last updated:** [January 3, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/need-help-using-net-smtp/51311 "2006-01-03T21:06:32Z")

</div>

I am trying to send email from my comcast email account (say removed\_email\_address@domain.invalid) to my yahoo email accout (say removed\_email\_address@domain.invalid) from a ruby script using net/smtp: require ‘net/sm…

---

## [26th December 2005 - 1st January 2006](https://www.ruby-forum.com/t/26th-december-2005-1st-january-2006/56101)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [January 3, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/26th-december-2005-1st-january-2006/56101 "2006-01-03T20:50:48Z")

</div>

http://www.rubyweeklynews.org/20060101.html Ruby Weekly News 26th December 2005 - 1st January 2006 Ruby Weekly News is a summary of the week’s activity on the ruby-talk mailing list / the comp.lang.ruby newsgroup / Ru…

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

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