# Ruby

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

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

---

## [Achieve pure object oriented design in Ruby](https://www.ruby-forum.com/t/achieve-pure-object-oriented-design-in-ruby/63802)

<div class="topic-metadata">

**Author:** [@nayak](https://www.ruby-forum.com/u/nayak)\
**Replies:** 21\
**Last updated:** [June 22, 2006, 10:29pm UTC](https://www.ruby-forum.com/t/achieve-pure-object-oriented-design-in-ruby/63802 "2006-06-22T22:29:19Z")

</div>

Hi, I have 3 classes A, B and C; I want to achieve following behavior (I am calling it “pure object oriented designing”) with them. An instance of Class C should not exist without instance of Class B and inst…

---

## [RailsForge](https://www.ruby-forum.com/t/railsforge/96017)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 10\
**Last updated:** [June 22, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/railsforge/96017 "2006-06-22T21:55:08Z")

</div>

I notice so many new projects are RoR oriented these days. Anyone thinking about a dedicated RailsForge? T.

---

## [While in a tk mainloop](https://www.ruby-forum.com/t/while-in-a-tk-mainloop/64168)

<div class="topic-metadata">

**Author:** [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Replies:** 6\
**Last updated:** [June 22, 2006, 8:48pm UTC](https://www.ruby-forum.com/t/while-in-a-tk-mainloop/64168 "2006-06-22T20:48:05Z")

</div>

Hi all How can I run a while loop in a Tk.mainloop? If I run the while loop before calling Tk.mainloop and Tk doesn’t show and if I start Tk.mainloop before the while loop the while loop doesn’t start until the tk bo…

---

## [A quick ruby hack to sync evolution and kolab2](https://www.ruby-forum.com/t/a-quick-ruby-hack-to-sync-evolution-and-kolab2/64176)

<div class="topic-metadata">

**Author:** [@Stefan\_Holst](https://www.ruby-forum.com/u/Stefan_Holst)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/a-quick-ruby-hack-to-sync-evolution-and-kolab2/64176 "2006-06-22T20:24:39Z")

</div>

hello, here is a small ruby hack that will (two-way) sync your evolution calender and contacts against a kolab2 server: included in this release is also a new version of our ruby evolution bindings (originally base…

---

## [Entry Point?](https://www.ruby-forum.com/t/entry-point/96012)

<div class="topic-metadata">

**Author:** [@azalar](https://www.ruby-forum.com/u/azalar)\
**Replies:** 3\
**Last updated:** [June 22, 2006, 8:12pm UTC](https://www.ruby-forum.com/t/entry-point/96012 "2006-06-22T20:12:23Z")

</div>

Does ruby have an entry point like Java & C have main? For instance if i had the following code… puts “Calling method” method() def method do something here… end This will fail because the definition for method is …

---

## [Compiling GP Ruby.NET Compiler on Mono](https://www.ruby-forum.com/t/compiling-gp-ruby-net-compiler-on-mono/64005)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 22, 2006, 7:36pm UTC](https://www.ruby-forum.com/t/compiling-gp-ruby-net-compiler-on-mono/64005 "2006-06-22T19:36:02Z")

</div>

Hi, Recently Gardens Point Ruby.NET Compiler was released. It’s available here: http://plas.fit.qut.edu.au/Ruby.NET/ This post is a walkthrough on how to compile it on Mono. First, you need to get Mono from SVN trun…

---

## [Civility (re Re: ruby-lang.org redesign?)](https://www.ruby-forum.com/t/civility-re-re-ruby-lang-org-redesign/64162)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [June 22, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/civility-re-re-ruby-lang-org-redesign/64162 "2006-06-22T17:58:35Z")

</div>

Kyrre N. wrote: … I see from cube6media.com that you are experienced with web design. Your talent, however, seems to be more oriented towards programming rather than actual design, which is what we are discussing …

---

## [Ruby Faq -- was: Newbie Questions](https://www.ruby-forum.com/t/ruby-faq-was-newbie-questions/64161)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/ruby-faq-was-newbie-questions/64161 "2006-06-22T17:45:23Z")

</div>

Robert pretty much wrote: Paul wrote: I am new to Ruby and have a newbie Ruby question that i couldn’t find the answer to in the FAQ. you did well to look at the FAQ but \[snip\] Actually, I think the Ruby faq’s b…

---

## [C Threads and Ruby](https://www.ruby-forum.com/t/c-threads-and-ruby/63905)

<div class="topic-metadata">

**Author:** [@KroegerS\_Simon\_Sext](https://www.ruby-forum.com/u/KroegerS_Simon_Sext)\
**Replies:** 20\
**Last updated:** [June 22, 2006, 5:22pm UTC](https://www.ruby-forum.com/t/c-threads-and-ruby/63905 "2006-06-22T17:22:36Z")

</div>

Hi, i know the ruby interpreter isn’t thread safe and it’s not a good idea to call rb\_\* functions from more than one thread. Nevertheless, is there a way to signal the interpreter that i would like him to call one o…

---

## [Ruby & Rules Engines](https://www.ruby-forum.com/t/ruby-rules-engines/96007)

<div class="topic-metadata">

**Author:** [@craigtmackenzie](https://www.ruby-forum.com/u/craigtmackenzie)\
**Replies:** 2\
**Last updated:** [June 22, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/ruby-rules-engines/96007 "2006-06-22T17:06:00Z")

</div>

Hi, could anyone suggest a good rules engine which works with Ruby? Something like Drools & Java (forward chaining). Thanks for all your help

---

## [Sorta odd error handling](https://www.ruby-forum.com/t/sorta-odd-error-handling/64138)

<div class="topic-metadata">

**Author:** [@ohad](https://www.ruby-forum.com/u/ohad)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/sorta-odd-error-handling/64138 "2006-06-22T16:56:28Z")

</div>

When an exception gets raised ‘all the way out’, you get a nice little call-stack with line-numbers and function names, which really helps seeing what went wrong, and how. However, I want my application (which has an …

---

## [AR cannot insert floats to mysql table (german conversion?)](https://www.ruby-forum.com/t/ar-cannot-insert-floats-to-mysql-table-german-conversion/64155)

<div class="topic-metadata">

**Author:** [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 4:06pm UTC](https://www.ruby-forum.com/t/ar-cannot-insert-floats-to-mysql-table-german-conversion/64155 "2006-06-22T16:06:37Z")

</div>

hi, i have a problem. i cannot insert a float value in a mysql tablecolumn FLOAT Loading development environment. Tax.create(:name=\>‘mwst’, :descr=\>‘MwSt. 16%’, :rate=\>0.16) ActiveRecord::StatementInvalid: Mysql::…

---

## [Ruby-lang.org redesign?](https://www.ruby-forum.com/t/ruby-lang-org-redesign/63202)

<div class="topic-metadata">

**Author:** [@BA\_Baracus](https://www.ruby-forum.com/u/BA_Baracus)\
**Replies:** 40\
**Last updated:** [June 22, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/ruby-lang-org-redesign/63202 "2006-06-22T15:53:15Z")

</div>

Guys, Last year, I remember seeing an impressive redesign of ruby-lang.org (http://redhanded.hobix.com/redesign2005). However, no mention since last May, and no switchover. I really think this new design would be a b…

---

## [Module#name for anonymous modules](https://www.ruby-forum.com/t/module-name-for-anonymous-modules/95995)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/module-name-for-anonymous-modules/95995 "2006-06-22T15:25:12Z")

</div>

Observation: mod = Module.new mod.name #=\> “” Maybe it would more friendly if Module#name returned nil in this case? Then one could more easily say: if mod.name … end T.

---

## [Parsing a string using multiple regexs](https://www.ruby-forum.com/t/parsing-a-string-using-multiple-regexs/62163)

<div class="topic-metadata">

**Author:** [@jdw](https://www.ruby-forum.com/u/jdw)\
**Replies:** 9\
**Last updated:** [June 22, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/parsing-a-string-using-multiple-regexs/62163 "2006-06-22T15:16:02Z")

</div>

To whomever can help, I need to parse a string into parts using multiple regexs, and I’m new to Ruby, so I have NO idea how to do it. Basically, I’m trying to parse tags that users might add on a webpage. Example: In…

---

## [Newbie Questions](https://www.ruby-forum.com/t/newbie-questions/64136)

<div class="topic-metadata">

**Author:** [@azalar](https://www.ruby-forum.com/u/azalar)\
**Replies:** 5\
**Last updated:** [June 22, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/newbie-questions/64136 "2006-06-22T12:12:19Z")

</div>

Hi, I am new to Ruby and have a newbie Ruby question that i couldn’t find the answer to in the FAQ. If this is the wrong forum to post newbie questions please accept my apologies and direct me to a more suitable foru…

---

## [Tktable](https://www.ruby-forum.com/t/tktable/96003)

<div class="topic-metadata">

**Author:** [@name\_pipe](https://www.ruby-forum.com/u/name_pipe)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 11:08am UTC](https://www.ruby-forum.com/t/tktable/96003 "2006-06-22T11:08:17Z")

</div>

Hello, I am trying to run graphics file. But its giving error like ""TkPackage can’t fid package TkTable (RuntimeError). " All libraries are present in C:\\programfiles\\ruby\\lib\\ruby\\1.8\\tkextlib still i m getting thi…

---

## [Ruby Talk Rss feed](https://www.ruby-forum.com/t/ruby-talk-rss-feed/64129)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 10:34am UTC](https://www.ruby-forum.com/t/ruby-talk-rss-feed/64129 "2006-06-22T10:34:27Z")

</div>

Could some body point me to RSS feed of Ruby T. mailing list? Thanks Jatinder

---

## [Gems problem](https://www.ruby-forum.com/t/gems-problem/96005)

<div class="topic-metadata">

**Author:** [@Kev\_J](https://www.ruby-forum.com/u/Kev_J)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 10:34am UTC](https://www.ruby-forum.com/t/gems-problem/96005 "2006-06-22T10:34:11Z")

</div>

Hi all, I cannot get gem install x to work at all. \[Spikefish:/Users/web\] root# gem install rubyzip Attempting local installation of ‘rubyzip’ Local gem file not found: rubyzip\*.gem Attempting remote installation of…

---

## [The difference between s=s+â?aâ? ans s\<\< â?aâ?](https://www.ruby-forum.com/t/the-difference-between-s-s-a-aa-ans-s-a-aa/95989)

<div class="topic-metadata">

**Author:** [@amoeen](https://www.ruby-forum.com/u/amoeen)\
**Replies:** 9\
**Last updated:** [June 22, 2006, 10:03am UTC](https://www.ruby-forum.com/t/the-difference-between-s-s-a-aa-ans-s-a-aa/95989 "2006-06-22T10:03:02Z")

</div>

Hi, I wonder what is the difference between s=s+â?aâ? ans s\<\< â?aâ?? Somebody told me that s\<\< â?aâ? concatenates the string without mutation. Is that right? Thanks, Alan

---

## [Question about Vector class](https://www.ruby-forum.com/t/question-about-vector-class/64120)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 8:49am UTC](https://www.ruby-forum.com/t/question-about-vector-class/64120 "2006-06-22T08:49:11Z")

</div>

Hi, I am extremely new to Ruby, just my first week so I apologize if this has already been discussed or is completely absurd. I was using the library Vector class defined in matrix.rb in one of my programs, the \[\] m…

---

## [Frameless Ruby docs (was Re: Whats new/fixed in Ruby 1.9 an](https://www.ruby-forum.com/t/frameless-ruby-docs-was-re-whats-new-fixed-in-ruby-1-9-an/96002)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 7:00am UTC](https://www.ruby-forum.com/t/frameless-ruby-docs-was-re-whats-new-fixed-in-ruby-1-9-an/96002 "2006-06-22T07:00:34Z")

</div>

On Jun 17, 2006, at 3:07, Daniel S. wrote: visual identity of the main site. Preferably without the use of frames. Could a little tweaking of rDoc make that happen? If so, I may be able to cook up some usable and re…

---

## [Frameless Ruby docs (was Re: Whats new/fixed in Ruby 1.9 an](https://www.ruby-forum.com/t/frameless-ruby-docs-was-re-whats-new-fixed-in-ruby-1-9-an/64119)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 7:00am UTC](https://www.ruby-forum.com/t/frameless-ruby-docs-was-re-whats-new-fixed-in-ruby-1-9-an/64119 "2006-06-22T07:00:27Z")

</div>

On Jun 17, 2006, at 3:07, Daniel S. wrote: Tom A. wrote: What constructive suggestions can someone provide to improve this for the community? I have to be honest, Ruby isn’t the most well-documented language, from a…

---

## [OT-cooling w ruby (RE: Mongrel 0.3.13.1 -- Quick Small Fixes](https://www.ruby-forum.com/t/ot-cooling-w-ruby-re-mongrel-0-3-13-1-quick-small-fixes/64116)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 6:08am UTC](https://www.ruby-forum.com/t/ot-cooling-w-ruby-re-mongrel-0-3-13-1-quick-small-fixes/64116 "2006-06-22T06:08:53Z")

</div>

Hi Zed and James, To me, you both are very cool ruby hackers. so before you start calling names to each other, might as well settle your diffs offline, preferably w cool beer and pizza… just my friendly nuby advice. …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/96000)

<div class="topic-metadata">

**Author:** [@poga\_Jason\_Po](https://www.ruby-forum.com/u/poga_Jason_Po)\
**Replies:** 0\
**Last updated:** [June 22, 2006, 5:47am UTC](https://www.ruby-forum.com/t/no-subject/96000 "2006-06-22T05:47:32Z")

</div>

unsubscribe

---

## [Exec() not returning to ruby](https://www.ruby-forum.com/t/exec-not-returning-to-ruby/63880)

<div class="topic-metadata">

**Author:** [@craig\_b](https://www.ruby-forum.com/u/craig_b)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 5:13am UTC](https://www.ruby-forum.com/t/exec-not-returning-to-ruby/63880 "2006-06-22T05:13:54Z")

</div>

I’ve got some code like this: sources = File.new ‘file\_list.txt’ sources.each do |src| exec “mkdir #{some\_dest}” unless File.exists some\_dest exec “svn export #{src} #{some\_dest}” end puts ‘Done.’ The problem is t…

---

## [\[ANN\] Mongrel 0.3.13.1 -- Quick Small Fixes](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-1-quick-small-fixes/64003)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 8\
**Last updated:** [June 22, 2006, 5:04am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-1-quick-small-fixes/64003 "2006-06-22T05:04:41Z")

</div>

Hi Everyone, This is a small release that fixes a little bug, some of the documentation, and adds the new RedirectHandler code and a @redirect@ call for the mongrel.conf files. It’s fresh so don’t rely on it. Everyo…

---

## [IE cookie/session problem](https://www.ruby-forum.com/t/ie-cookie-session-problem/64082)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 1\
**Last updated:** [June 22, 2006, 4:29am UTC](https://www.ruby-forum.com/t/ie-cookie-session-problem/64082 "2006-06-22T04:29:49Z")

</div>

We ran into an odd problem today regarding IE and cookies/sessions. We have one site running at the url 'dev.test.com ’ and another running at 'it.dev.test.com '. Both of these site are using the exact same codebase,…

---

## ["abc"\[3\] returns ""](https://www.ruby-forum.com/t/abc-3-returns/64062)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [June 22, 2006, 3:34am UTC](https://www.ruby-forum.com/t/abc-3-returns/64062 "2006-06-22T03:34:29Z")

</div>

test-all e$B$,e(B http://www.rubyist.net/~akr/chkbuild/debian-sarge/ruby-trunk/log/20060621T190802.txt.gz e$B$H$$$&$h$&$Ke(B timeout e$B$9$k$N$GD4$Y$?$H$3$m!"e(B % ./ruby -ve ‘p “abc”\[3\]’ ruby 1.9.0 (2006-06-21) \[i68…

---

## [Man pages on windows](https://www.ruby-forum.com/t/man-pages-on-windows/64105)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 22, 2006, 3:00am UTC](https://www.ruby-forum.com/t/man-pages-on-windows/64105 "2006-06-22T03:00:21Z")

</div>

I’m running Ruby on Windows. How can i see the man pages for irb, etc? Bret

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

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