# Ruby

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

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

---

## [Re: freeride under windows (totally newbie question)](https://www.ruby-forum.com/t/re-freeride-under-windows-totally-newbie-question/85674)

<div class="topic-metadata">

**Author:** [@scoundrel](https://www.ruby-forum.com/u/scoundrel)\
**Replies:** 1\
**Last updated:** [February 15, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/re-freeride-under-windows-totally-newbie-question/85674 "2007-02-15T14:33:07Z")

</div>

Thank you for the advices. I was just thinking that if a ruby application (freeride) doesn’t start then possibly my Ruby installation is corrupted. Best regards, Alexey K. OpenWay

---

## [\[ANN\] Motiro 0.6.2 released](https://www.ruby-forum.com/t/ann-motiro-0-6-2-released/85669)

<div class="topic-metadata">

**Author:** [@thiagoalessio](https://www.ruby-forum.com/u/thiagoalessio)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/ann-motiro-0-6-2-released/85669 "2007-02-15T13:18:56Z")

</div>

Motiro is a very simple project tracking system. It is written in Ruby using Rails and supports tracking Subversion and Darcs repositories using a common web page and RSS feeds. There is also a built-in wiki, based o…

---

## [Backporting URI to ruby\_1\_8](https://www.ruby-forum.com/t/backporting-uri-to-ruby-1-8/85544)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 6\
**Last updated:** [February 15, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/backporting-uri-to-ruby-1-8/85544 "2007-02-15T12:32:53Z")

</div>

e$B!!e(Blib/uri e$B$re(B trunk e$B$+$ie(B ruby\_1\_8 e$B$K%^!\<%8$7$^$9!#e(B e$B!!$^$:!"e(B userinfo e$B$K4X$9$k%P%0=$@5$He(BFTPe$B%9%-!\<%\`$Ne(B path e$B$K4X$9$ke(B e$B=$@5$K0\[O@$O$J$$$H;W$$$^$9!#e(B e$B!!e(BURI.escape…

---

## [Can we write the code version control system](https://www.ruby-forum.com/t/can-we-write-the-code-version-control-system/85402)

<div class="topic-metadata">

**Author:** [@kumar](https://www.ruby-forum.com/u/kumar)\
**Replies:** 5\
**Last updated:** [February 15, 2007, 10:43am UTC](https://www.ruby-forum.com/t/can-we-write-the-code-version-control-system/85402 "2007-02-15T10:43:44Z")

</div>

Hi, Can We write the code in Ruby to know the Frequently changing classes in SVN (like version control system) which are check in. My doubt, Is it worthy to do in PYthon…? else, which scripting language is best …

---

## [Getting my sister to learn programming](https://www.ruby-forum.com/t/getting-my-sister-to-learn-programming/85214)

<div class="topic-metadata">

**Author:** [@SonOfLilit](https://www.ruby-forum.com/u/SonOfLilit)\
**Replies:** 42\
**Last updated:** [February 15, 2007, 9:49am UTC](https://www.ruby-forum.com/t/getting-my-sister-to-learn-programming/85214 "2007-02-15T09:49:38Z")

</div>

Hello fellow Rubyists, I’ve just come back from a trip home\* and was surprised to find my sister very enthusiastic about programming and wanting to continue our lessons. Yes, a trip home. I spend most of my life in …

---

## [How to do: var1 = var2.new(.....) (var2 contains classname)](https://www.ruby-forum.com/t/how-to-do-var1-var2-new-var2-contains-classname/85599)

<div class="topic-metadata">

**Author:** [@jeanluca](https://www.ruby-forum.com/u/jeanluca)\
**Replies:** 7\
**Last updated:** [February 15, 2007, 9:45am UTC](https://www.ruby-forum.com/t/how-to-do-var1-var2-new-var2-contains-classname/85599 "2007-02-15T09:45:37Z")

</div>

Hi All I have a situation in which I have the name of the class in a variable So normally I would do song = Song.new(“Bicylops”, “Fleck”, 260) But I need to do something like var2 = “Song” var1 = var2.new(“Bicylops…

---

## [Where do you use Ruby?](https://www.ruby-forum.com/t/where-do-you-use-ruby/85520)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 21\
**Last updated:** [February 15, 2007, 9:26am UTC](https://www.ruby-forum.com/t/where-do-you-use-ruby/85520 "2007-02-15T09:26:36Z")

</div>

As I get myself more and more into Rails, and Ruby, I wonder in what other areas I can use Ruby, it’s such a wonderful language. So, my question is; what is Ruby for?

---

## [Ruby create web service client with php nusoap?](https://www.ruby-forum.com/t/ruby-create-web-service-client-with-php-nusoap/85656)

<div class="topic-metadata">

**Author:** [@winson](https://www.ruby-forum.com/u/winson)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 9:23am UTC](https://www.ruby-forum.com/t/ruby-create-web-service-client-with-php-nusoap/85656 "2007-02-15T09:23:28Z")

</div>

dear all: i will use ruby soap client to connect php nusoap server,but can’t get response data ,can’t help me thank wsdl url: http://www.winson.idv.tw/mytest/nusoap/demo.php?wsdl ruby wsdl client: require ‘soap/ws…

---

## [Ruby-MySQL on solaris 9 (sparc)](https://www.ruby-forum.com/t/ruby-mysql-on-solaris-9-sparc/85590)

<div class="topic-metadata">

**Author:** [@ChrisKaelin](https://www.ruby-forum.com/u/ChrisKaelin)\
**Replies:** 1\
**Last updated:** [February 15, 2007, 8:50am UTC](https://www.ruby-forum.com/t/ruby-mysql-on-solaris-9-sparc/85590 "2007-02-15T08:50:33Z")

</div>

Does anyone have Ruby-MySQL running on Solaris for sparc64? I’d like to compile it, but even on my linux box home , the mkmf library is missing and I can’t find it anywhere to download. Thanks in advance for any sugge…

---

## [Perl6 on Ruby (redsix)](https://www.ruby-forum.com/t/perl6-on-ruby-redsix/85651)

<div class="topic-metadata">

**Author:** [@Vlad\_GALU](https://www.ruby-forum.com/u/Vlad_GALU)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 8:01am UTC](https://www.ruby-forum.com/t/perl6-on-ruby-redsix/85651 "2007-02-15T08:01:29Z")

</div>

I don’t know how worthy this is in the context of Parrot, but it’s worth taking a look at: http://svn.openfoundry.org/pugs/misc/pX/Common/redsix/

---

## [Fastthread now default in ruby\_1\_8](https://www.ruby-forum.com/t/fastthread-now-default-in-ruby-1-8/85172)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 7:47am UTC](https://www.ruby-forum.com/t/fastthread-now-default-in-ruby-1-8/85172 "2007-02-15T07:47:28Z")

</div>

Hi, I have just finished integrating MenTaLguY’s fastthread mutex implementation into the ruby\_1\_8 branch. The original, pure ruby version of lib/thread is still available as a configure option \`–disable-fastthread’ …

---

## [RSCM and subversion](https://www.ruby-forum.com/t/rscm-and-subversion/85642)

<div class="topic-metadata">

**Author:** [@craig\_b](https://www.ruby-forum.com/u/craig_b)\
**Replies:** 1\
**Last updated:** [February 15, 2007, 7:19am UTC](https://www.ruby-forum.com/t/rscm-and-subversion/85642 "2007-02-15T07:19:26Z")

</div>

Anyone know how to get the svn revision number of a locally checked- out working copy via rscm? I’ve hacked about a bit in irb to see how things work (the docs are a little thin) but this one thing has eluded me. It c…

---

## [Exception on Singleton](https://www.ruby-forum.com/t/exception-on-singleton/84503)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 9\
**Last updated:** [February 15, 2007, 6:15am UTC](https://www.ruby-forum.com/t/exception-on-singleton/84503 "2007-02-15T06:15:21Z")

</div>

e$B!!$5$5$@$G$9!#e(B require ‘singleton’ class C include Singleton end p C.instance #=\> /home/ko1/ruby/trunk/lib/singleton.rb:109:in instance': undefined methodsynchronize’ for nil:NilClass (NoMethodError) from ……

---

## [Ci\_reporter 1.0 Released](https://www.ruby-forum.com/t/ci-reporter-1-0-released/85649)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 6:13am UTC](https://www.ruby-forum.com/t/ci-reporter-1-0-released/85649 "2007-02-15T06:13:21Z")

</div>

ci\_reporter version 1.0 has been released! http://caldersphere.rubyforge.org/ci\_reporter CI::Reporter is an add-on to Test::Unit and RSpec that allows you to generate XML reports of your test and/or spec runs. The re…

---

## [Adwords4r, how to set bid $ for keywords](https://www.ruby-forum.com/t/adwords4r-how-to-set-bid-for-keywords/85643)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 5:11am UTC](https://www.ruby-forum.com/t/adwords4r-how-to-set-bid-for-keywords/85643 "2007-02-15T05:11:18Z")

</div>

I would love an example for how to set the bid amount for keywords. In the adwords gui, you can set per keyword bid amounts, something like this… keyword1,1.5 keyword2,2.0 Can you do this thru adwords4r ? – Thanks, …

---

## [Translucent window](https://www.ruby-forum.com/t/translucent-window/85388)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 4\
**Last updated:** [February 15, 2007, 4:45am UTC](https://www.ruby-forum.com/t/translucent-window/85388 "2007-02-15T04:45:17Z")

</div>

I’m writing an application that sometimes notifies the user of certain events on the desktop by some pop up msgs. I would also like to have these pop ups made translucent at user’s choice and give user the control to …

---

## [Initializing dynamic instance methods](https://www.ruby-forum.com/t/initializing-dynamic-instance-methods/85555)

<div class="topic-metadata">

**Author:** [@Lars\_O](https://www.ruby-forum.com/u/Lars_O)\
**Replies:** 4\
**Last updated:** [February 15, 2007, 4:35am UTC](https://www.ruby-forum.com/t/initializing-dynamic-instance-methods/85555 "2007-02-15T04:35:17Z")

</div>

Hi list! What’s the best way to remedy the error/warning that the following code produces? class Parent def self.foo() module\_eval(“def foo(); @foo; end”) module\_eval(“def foo=(newfoo); @foo = newfoo; end”) end e…

---

## [Re: Creating a second instance of a singleton class?](https://www.ruby-forum.com/t/re-creating-a-second-instance-of-a-singleton-class/85593)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 4:20am UTC](https://www.ruby-forum.com/t/re-creating-a-second-instance-of-a-singleton-class/85593 "2007-02-15T04:20:15Z")

</div>

dblack wrote: I think the idea is for the object to have its own class, so if that class ceased to be its own class, there would have to be some new construct that was its own class, and you’d be back where you start…

---

## [Re: Creating a second instance of a singleton class?](https://www.ruby-forum.com/t/re-creating-a-second-instance-of-a-singleton-class/85603)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 1\
**Last updated:** [February 15, 2007, 3:47am UTC](https://www.ruby-forum.com/t/re-creating-a-second-instance-of-a-singleton-class/85603 "2007-02-15T03:47:13Z")

</div>

I love this group b/c there are so many clever people here. Ara - you’re definitely getting me close. I’ll open the bag a little at the expense of brevity so you can see what I’m trying to accomplish. I’m using Rails …

---

## [What runs when running tests?](https://www.ruby-forum.com/t/what-runs-when-running-tests/85571)

<div class="topic-metadata">

**Author:** [@kelly](https://www.ruby-forum.com/u/kelly)\
**Replies:** 5\
**Last updated:** [February 15, 2007, 12:55am UTC](https://www.ruby-forum.com/t/what-runs-when-running-tests/85571 "2007-02-15T00:55:59Z")

</div>

I guess I’m still learning ruby. While looking through the test code I realized I don’t see what actually runs. My tests extend Test::Unit::TestCase, and define tests as def test\_sometestname some testing stuff end …

---

## [Fastthread-0.6.4.1 released](https://www.ruby-forum.com/t/fastthread-0-6-4-1-released/85628)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 12:29am UTC](https://www.ruby-forum.com/t/fastthread-0-6-4-1-released/85628 "2007-02-15T00:29:57Z")

</div>

== NOW A new version of fastthread, the library providing better implementations of the classes in thread.rb, has been released. Please note that fastthread is only for Ruby 1.8, not JRuby or any other Ruby implement…

---

## [Help with IMAP documentation](https://www.ruby-forum.com/t/help-with-imap-documentation/85581)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 12:28am UTC](https://www.ruby-forum.com/t/help-with-imap-documentation/85581 "2007-02-15T00:28:57Z")

</div>

Being new to ruby, I’m having a little trouble getting my mind around the documentation for net/imap, located here: http://www.ruby-doc.org/stdlib/libdoc/net/imap/rdoc/index.html I understand that if I do: messagestr…

---

## [Re: Adopt-a-newbie? Based on actual experience. (Volunteerin](https://www.ruby-forum.com/t/re-adopt-a-newbie-based-on-actual-experience-volunteerin/85627)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 0\
**Last updated:** [February 15, 2007, 12:11am UTC](https://www.ruby-forum.com/t/re-adopt-a-newbie-based-on-actual-experience-volunteerin/85627 "2007-02-15T00:11:55Z")

</div>

Send a newbie my way - great idea! This way the smart people on the list will be more available for my questions!! :slight\_smile: Best, Steve

---

## [Ruby and Ruby on Rails - Tell us what you think](https://www.ruby-forum.com/t/ruby-and-ruby-on-rails-tell-us-what-you-think/85617)

<div class="topic-metadata">

**Author:** [@Joe\_at\_CodeGear](https://www.ruby-forum.com/u/Joe_at_CodeGear)\
**Replies:** 0\
**Last updated:** [February 14, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ruby-and-ruby-on-rails-tell-us-what-you-think/85617 "2007-02-14T23:05:47Z")

</div>

My company, CodeGear (the Borland spin-off) has a survey open on Ruby and Ruby on Rails. If you have two minutes we’d appreciate your input on this survey. The survey is at: Free Online Survey Software by SurveyMonke…

---

## [Newbie tdd question](https://www.ruby-forum.com/t/newbie-tdd-question/85492)

<div class="topic-metadata">

**Author:** [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Replies:** 10\
**Last updated:** [February 14, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/newbie-tdd-question/85492 "2007-02-14T22:28:44Z")

</div>

I’ve search google and the ruby kitchen sink… I’ve also hunted around various book stores, and it seems like TDD documentation is primarily found for java. Can someone point me to something like Chris P.'s newbie gu…

---

## [Justification for Array#join behaviour?](https://www.ruby-forum.com/t/justification-for-array-join-behaviour/85527)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 8\
**Last updated:** [February 14, 2007, 9:23pm UTC](https://www.ruby-forum.com/t/justification-for-array-join-behaviour/85527 "2007-02-14T21:23:34Z")

</div>

What is the justification for \[1,2,\[3,4\]\].join(‘,’) being ‘1,2,3,4’ instead of ‘1,2,34’? According to ruby-doc.org join “Returns a string created by converting each element of the array to a string, separated by sep.”…

---

## [Proc objects and Maintainability - a design note to self](https://www.ruby-forum.com/t/proc-objects-and-maintainability-a-design-note-to-self/85515)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 2\
**Last updated:** [February 14, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/proc-objects-and-maintainability-a-design-note-to-self/85515 "2007-02-14T21:15:33Z")

</div>

So I use a couple of proc objects around my system. Sort of nice in the sense that they can tell me where they were create (File/Line number) Sort of nice in the sense that they parcel up a bit of lexical scope and a…

---

## [Setting form values in rails?](https://www.ruby-forum.com/t/setting-form-values-in-rails/85587)

<div class="topic-metadata">

**Author:** [@red](https://www.ruby-forum.com/u/red)\
**Replies:** 0\
**Last updated:** [February 14, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/setting-form-values-in-rails/85587 "2007-02-14T20:21:24Z")

</div>

hi! i’m trying to build some stuff with RoR again and now got a little problem and i hope someone can help me. i’ve got the models securities, events ans allocations. there are many\_to\_many relations between securiti…

---

## [Ajax/Prototype onComplete fires before response returned in](https://www.ruby-forum.com/t/ajax-prototype-oncomplete-fires-before-response-returned-in/85589)

<div class="topic-metadata">

**Author:** [@ext237](https://www.ruby-forum.com/u/ext237)\
**Replies:** 0\
**Last updated:** [February 14, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/ajax-prototype-oncomplete-fires-before-response-returned-in/85589 "2007-02-14T19:45:20Z")

</div>

Simple ajax call seems to have some issues in Firefox. The “onComplete:” is called BEFORE the response is returned by the call. Is there a coding issue or a work around? var ajax = new Ajax.Request( url, {method: …

---

## [Programmatically turning a Regexp into an anchored Regexp](https://www.ruby-forum.com/t/programmatically-turning-a-regexp-into-an-anchored-regexp/85579)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [February 14, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/programmatically-turning-a-regexp-into-an-anchored-regexp/85579 "2007-02-14T19:40:18Z")

</div>

Is there any programmatic way to take a Regexp like /foo/ and turn it into an anchored Regexp (/^foo/)? I’m looking for a programmatic way to do this because the actual Regexp is dynamic, not known until run time. I’…

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

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