# Ruby

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

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

---

## [Hoe-git 1.1.0 Released](https://www.ruby-forum.com/t/hoe-git-1-1-0-released/170880)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 10:58pm UTC](https://www.ruby-forum.com/t/hoe-git-1-1-0-released/170880 "2009-06-23T22:58:14Z")

</div>

hoe-git version 1.1.0 has been released! http://github.com/jbarnette/hoe-git A Hoe plugin for tighter Git integration. This plugin provides a git:tag task to automate release tagging and pushing, a git:changelog tas…

---

## [\[ANN\] centralized rubygems rdocs site](https://www.ruby-forum.com/t/ann-centralized-rubygems-rdocs-site/170872)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [June 23, 2009, 10:42pm UTC](https://www.ruby-forum.com/t/ann-centralized-rubygems-rdocs-site/170872 "2009-06-23T22:42:05Z")

</div>

I am pleased to announce the release of my site that has the rdocs for \[almost\] all existing rubygems. Why? Because it’s convenient to have all rdocs installed in a single place to be able to browse/search them. Beca…

---

## [Question about Ivan Porto carrero MVC Sample](https://www.ruby-forum.com/t/question-about-ivan-porto-carrero-mvc-sample/170858)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 27\
**Last updated:** [June 23, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/question-about-ivan-porto-carrero-mvc-sample/170858 "2009-06-23T22:40:36Z")

</div>

Hi Ivan Porto carrero, Great work on the MVC IronRuby sample! I am curious to know how it works! I created an ASP.NET MVC application. I created the controller and view but how will the views get called. Here is my c…

---

## [Threads + Forks in Ruby 1.9.1p129](https://www.ruby-forum.com/t/threads-forks-in-ruby-1-9-1p129/170816)

<div class="topic-metadata">

**Author:** [@Lee\_Hinman](https://www.ruby-forum.com/u/Lee_Hinman)\
**Replies:** 5\
**Last updated:** [June 23, 2009, 10:34pm UTC](https://www.ruby-forum.com/t/threads-forks-in-ruby-1-9-1p129/170816 "2009-06-23T22:34:09Z")

</div>

Hey All, I’m seeing some weirdness trying to get Ara’s forkoff gem working on ruby 1.9.1. Here’s some code that duplicates the problem: #!/usr/bin/env ruby require ‘thread’ t1 = Thread.new do pid = fork unless pi…

---

## [Is it the ruby way to implement #downto](https://www.ruby-forum.com/t/is-it-the-ruby-way-to-implement-downto/170856)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [June 23, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/is-it-the-ruby-way-to-implement-downto/170856 "2009-06-23T22:33:33Z")

</div>

Hi all, I wonder if the following code is the ruby way to implement Integer#downto. Thanks, Li ####################### class Integer def my\_downto(final=2) for i in (final…self).to\_a.reverse yield i end end e…

---

## [Map shall not return an Enumerator ( was re guru help )](https://www.ruby-forum.com/t/map-shall-not-return-an-enumerator-was-re-guru-help/170790)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 9\
**Last updated:** [June 23, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/map-shall-not-return-an-enumerator-was-re-guru-help/170790 "2009-06-23T20:11:59Z")

</div>

On Mon, Jun 22, 2009 at 2:52 PM, Brian C.removed\_email\_address@domain.invalid wrote: Robert D. wrote: That I dislike very much. What you want is to run a ‘join’ operation on each member of the collection, but that l…

---

## [Code Review: Arrays](https://www.ruby-forum.com/t/code-review-arrays/170868)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 8:11pm UTC](https://www.ruby-forum.com/t/code-review-arrays/170868 "2009-06-23T20:11:24Z")

</div>

tfpt review “/shelveset:Arrays;REDMOND\\tomat” Improves implementation of RubyArray. RubyArray now delegates to a list instead of deriving from it. It also implements IRubyObjectState and maintains version, tainted and…

---

## [Tomcat: Setting the JRuby version](https://www.ruby-forum.com/t/tomcat-setting-the-jruby-version/170850)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 4\
**Last updated:** [June 23, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/tomcat-setting-the-jruby-version/170850 "2009-06-23T18:56:47Z")

</div>

This might be a stupid question, but how do you tell Tomcat (5.5) to use a specific version of JRuby? I have tried searching the web, and looking though the verious config files, but found nothing. View this message …

---

## [Dynamic Binding fails if abstract event not implemented](https://www.ruby-forum.com/t/dynamic-binding-fails-if-abstract-event-not-implemented/170817)

<div class="topic-metadata">

**Author:** [@Xerxes\_Battiwalla](https://www.ruby-forum.com/u/Xerxes_Battiwalla)\
**Replies:** 6\
**Last updated:** [June 23, 2009, 5:19pm UTC](https://www.ruby-forum.com/t/dynamic-binding-fails-if-abstract-event-not-implemented/170817 "2009-06-23T17:19:07Z")

</div>

Hi - I’ve just downloaded the latest IR source from GitHub and have a problem with what looks like a regression from v0.4. We have an interface defining an event which is implemented by an abstract class in C#. In Rub…

---

## [Problems reading Java Hashtables from Jruby 1.3.1](https://www.ruby-forum.com/t/problems-reading-java-hashtables-from-jruby-1-3-1/170831)

<div class="topic-metadata">

**Author:** [@eipipuz](https://www.ruby-forum.com/u/eipipuz)\
**Replies:** 2\
**Last updated:** [June 23, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/problems-reading-java-hashtables-from-jruby-1-3-1/170831 "2009-06-23T17:08:18Z")

</div>

Hello guys, I am having a big problem and it looks like a bug in jruby. I have two java hash tables: hash1 and hash2. Both hashes have the same key but different data. Both hashes are generated in Java classes execut…

---

## [\[Bug #1674\] set\_trace\_func with 1line block](https://www.ruby-forum.com/t/bug-1674-set-trace-func-with-1line-block/170728)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 3\
**Last updated:** [June 23, 2009, 4:39pm UTC](https://www.ruby-forum.com/t/bug-1674-set-trace-func-with-1line-block/170728 "2009-06-23T16:39:31Z")

</div>

Bug #1674: set\_trace\_func with 1line block http://redmine.ruby-lang.org/issues/show/1674 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: core ruby -v: ruby 1.9.2dev (2009-06-21 trunk…

---

## [Lather 1.4.0 Released](https://www.ruby-forum.com/t/lather-1-4-0-released/170825)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 1\
**Last updated:** [June 23, 2009, 3:51pm UTC](https://www.ruby-forum.com/t/lather-1-4-0-released/170825 "2009-06-23T15:51:56Z")

</div>

lather version 1.4.0 has been released! http://github.com/jbarnette/lather Lather is an easy way to watch files and do something when they change. By default, it checks for changes every second. Changes: 1.4.0 / 2…

---

## [Ruby datetime](https://www.ruby-forum.com/t/ruby-datetime/170845)

<div class="topic-metadata">

**Author:** [@sriram](https://www.ruby-forum.com/u/sriram)\
**Replies:** 3\
**Last updated:** [June 23, 2009, 3:30pm UTC](https://www.ruby-forum.com/t/ruby-datetime/170845 "2009-06-23T15:30:46Z")

</div>

Hello, I have two time objects: 2 days ago time1 = Time.now - 48 \* 3600 #=\> Sun Jun 21 16:56:33 +0530 2009 time2 = Time.now #=\> Tue Jun 23 16:57:05 +0530 2009 I need to create a third time object which will have t…

---

## [Qwicky 0.0.2 -- a REALLY small wiki](https://www.ruby-forum.com/t/qwicky-0-0-2-a-really-small-wiki/170848)

<div class="topic-metadata">

**Author:** [@fstroehle](https://www.ruby-forum.com/u/fstroehle)\
**Replies:** 2\
**Last updated:** [June 23, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/qwicky-0-0-2-a-really-small-wiki/170848 "2009-06-23T14:51:44Z")

</div>

Hi, my name is Fabian and I’m a Ruby-holic. And I have to admit, I did it again last week. I wrote some code. I’m ashamed of it, but it happened. So here’s what came out of it: Qwicky Qwicky is a one-file, as-simpl…

---

## [How to extract domain name without sub domain from url](https://www.ruby-forum.com/t/how-to-extract-domain-name-without-sub-domain-from-url/170813)

<div class="topic-metadata">

**Author:** [@leakhina](https://www.ruby-forum.com/u/leakhina)\
**Replies:** 2\
**Last updated:** [June 23, 2009, 11:12am UTC](https://www.ruby-forum.com/t/how-to-extract-domain-name-without-sub-domain-from-url/170813 "2009-06-23T11:12:06Z")

</div>

Hi everyone, Does anyone know how to extract domain name without sub domain from url? Example: http://test.domain.com =\> http://domain.com Please give me an example code in ruby. Thanks, Leakhina

---

## [Hoe-git 1.0.0 Released](https://www.ruby-forum.com/t/hoe-git-1-0-0-released/170835)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 10:14am UTC](https://www.ruby-forum.com/t/hoe-git-1-0-0-released/170835 "2009-06-23T10:14:34Z")

</div>

hoe-git version 1.0.0 has been released! http://github.com/jbarnette/hoe-git A Hoe plugin for tighter Git integration. This plugin provides a git:tag task to automate release tagging and pushing, and I expect it’ll …

---

## [How do I find overlaps between two Ruby Runt patterns?](https://www.ruby-forum.com/t/how-do-i-find-overlaps-between-two-ruby-runt-patterns/170834)

<div class="topic-metadata">

**Author:** [@amit](https://www.ruby-forum.com/u/amit)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 9:49am UTC](https://www.ruby-forum.com/t/how-do-i-find-overlaps-between-two-ruby-runt-patterns/170834 "2009-06-23T09:49:51Z")

</div>

I am developing a Google like calendar on Rails and am using Runt to define the recurrence patterns for creating events. However, the restriction with the calendar is that there cannot be two events for same time slot…

---

## [\[ANN\] Ruby$B3+H/2q5D(B20090622$B$N5D;vO?(B](https://www.ruby-forum.com/t/ann-ruby-b3-h-2q5d-b20090622-b-n5d-vo-b/170829)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 9:08am UTC](https://www.ruby-forum.com/t/ann-ruby-b3-h-2q5d-b20090622-b-n5d-vo-b/170829 "2009-06-23T09:08:53Z")

</div>

Yuguie$B$G$9!#e(B e$B3+H/2q5D$N5D;vO?$r$\*Aw$j$7$^$9!#e(B 1.9.2e$B$X8~$1$?%W%i%s$r7hDj$7$^$7$?!#e(B == e$B%9%1%8%e!\<%ke(B 7e$B7ne(B17e$BF|e(B (Rubye$B2q5De(B2009) 1.9.1e$B%Q%C%A%l%Y%k%j%j!\<%9e(B 1.9.2 preview releas…

---

## [Nokogiri 1.3.2 Released](https://www.ruby-forum.com/t/nokogiri-1-3-2-released/170830)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 9:05am UTC](https://www.ruby-forum.com/t/nokogiri-1-3-2-released/170830 "2009-06-23T09:05:21Z")

</div>

nokogiri version 1.3.2 has been released! http://nokogiri.org/ http://github.com/tenderlove/nokogiri/wikis http://github.com/tenderlove/nokogiri/tree/master http://groups.google.com/group/nokogiri-talk http://github.co…

---

## [Pastejour 1.2.0 Released](https://www.ruby-forum.com/t/pastejour-1-2-0-released/170826)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 9:00am UTC](https://www.ruby-forum.com/t/pastejour-1-2-0-released/170826 "2009-06-23T09:00:40Z")

</div>

pastejour version 1.2.0 has been released! http://github.com/jbarnette/pastejour Broadcast standard out using Bonjour. Pipe output to other people. Pastejour is like pbcopy, but over the network! Changes: 1.2.0 / …

---

## [Backpack-journal 1.1.0 Released](https://www.ruby-forum.com/t/backpack-journal-1-1-0-released/170824)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 8:20am UTC](https://www.ruby-forum.com/t/backpack-journal-1-1-0-released/170824 "2009-06-23T08:20:15Z")

</div>

backpack-journal version 1.1.0 has been released! http://github.com/jbarnette/backpack-journal Make journal and status entries in 37signals’ Backpack. This was a lunchtime project, and it’s been dormant for a while. …

---

## [Routing issue with jruby-rack/app engine](https://www.ruby-forum.com/t/routing-issue-with-jruby-rack-app-engine/170798)

<div class="topic-metadata">

**Author:** [@Charles\_Falconer](https://www.ruby-forum.com/u/Charles_Falconer)\
**Replies:** 4\
**Last updated:** [June 23, 2009, 5:34am UTC](https://www.ruby-forum.com/t/routing-issue-with-jruby-rack-app-engine/170798 "2009-06-23T05:34:01Z")

</div>

I’ve been using Nick S.'s jruby-rack rails sample for App Engine Everything has worked well except for a routing issue I’m having, despite using a rudimentary routes.rb file: No route matches “/stylesheets/scaffold…

---

## [How to submit a form and get response content](https://www.ruby-forum.com/t/how-to-submit-a-form-and-get-response-content/170814)

<div class="topic-metadata">

**Author:** [@camael](https://www.ruby-forum.com/u/camael)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 4:46am UTC](https://www.ruby-forum.com/t/how-to-submit-a-form-and-get-response-content/170814 "2009-06-23T04:46:26Z")

</div>

I have a login page,it includes a form,this form includes two text,one is username and another is password.By manual,when you input username,password and click submit button,you will see a welcome page,my question is …

---

## [Rspec 1.2.7 Released](https://www.ruby-forum.com/t/rspec-1-2-7-released/170810)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 4:22am UTC](https://www.ruby-forum.com/t/rspec-1-2-7-released/170810 "2009-06-23T04:22:42Z")

</div>

rspec-1.2.7 has been released! http://rspec.info http://rubyforge.org/projects/rspec http://github.com/dchelimsky/rspec/wikis removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid Behaviour Driven …

---

## [Gemini game engine 1.0.0](https://www.ruby-forum.com/t/gemini-game-engine-1-0-0/170809)

<div class="topic-metadata">

**Author:** [@Logan\_B](https://www.ruby-forum.com/u/Logan_B)\
**Replies:** 1\
**Last updated:** [June 23, 2009, 3:27am UTC](https://www.ruby-forum.com/t/gemini-game-engine-1-0-0/170809 "2009-06-23T03:27:37Z")

</div>

Gemini 1.0.0 is out! Gemini is a game engine that sits on top of Slick, a Java game engine. Gemini allows for dynamic adding and removal of behaviors from game objects, and packs many pre-built behaviors that allow yo…

---

## [Ruby suggestion:do\_not\_reverse\_lookup = true as default](https://www.ruby-forum.com/t/ruby-suggestion-do-not-reverse-lookup-true-as-default/170753)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [June 23, 2009, 2:20am UTC](https://www.ruby-forum.com/t/ruby-suggestion-do-not-reverse-lookup-true-as-default/170753 "2009-06-23T02:20:25Z")

</div>

Currently ruby socket code defaults to always doing a reverse DNS lookup when it can \[ex: once per incoming UDP packet\]. This causes “surprising” pauses when the lookup fails, because the DNS waits 15s to timeout, bef…

---

## [\> Ruby is the #1 most popular language on GitHub](https://www.ruby-forum.com/t/ruby-is-the-1-most-popular-language-on-github/170712)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 7\
**Last updated:** [June 23, 2009, 2:09am UTC](https://www.ruby-forum.com/t/ruby-is-the-1-most-popular-language-on-github/170712 "2009-06-23T02:09:18Z")

</div>

Need anything be said more? :slight\_smile: http://github.com/languages Python is the #3 most popular language on GitHub. Never let the snake catch up :smiley: Javascript comes actually at second place, and it is my…

---

## [ActiveRecord.connection\_pool separate connections for each p](https://www.ruby-forum.com/t/activerecord-connection-pool-separate-connections-for-each-p/170759)

<div class="topic-metadata">

**Author:** [@virendra](https://www.ruby-forum.com/u/virendra)\
**Replies:** 2\
**Last updated:** [June 23, 2009, 1:49am UTC](https://www.ruby-forum.com/t/activerecord-connection-pool-separate-connections-for-each-p/170759 "2009-06-23T01:49:27Z")

</div>

Hi! I am creating an ActiveRecord connection. In my code I am forking multiple processes which uses this ActiveRecord connection. However when the forked process ends it release the ActiveRecord Connection and I get …

---

## [If column header contain regexp, delete column](https://www.ruby-forum.com/t/if-column-header-contain-regexp-delete-column/170715)

<div class="topic-metadata">

**Author:** [@azgar](https://www.ruby-forum.com/u/azgar)\
**Replies:** 9\
**Last updated:** [June 23, 2009, 1:14am UTC](https://www.ruby-forum.com/t/if-column-header-contain-regexp-delete-column/170715 "2009-06-23T01:14:55Z")

</div>

I need to see if a csv column header matches a pattern (see columns 2/3 below…S31 and S32) then delete the entire column. I’ve tried using: /(S\[0-9\]+\\s\\b)/ but i don’t think the regexp is the problem. My script is usi…

---

## [Hoe-debugging 1.0.0 Released](https://www.ruby-forum.com/t/hoe-debugging-1-0-0-released/170806)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [June 23, 2009, 1:11am UTC](https://www.ruby-forum.com/t/hoe-debugging-1-0-0-released/170806 "2009-06-23T01:11:25Z")

</div>

hoe-debugging version 1.0.0 has been released! http://github.com/jbarnette/hoe-debugging A Hoe plugin to help you debug your codes. This plugin provides test:gdb and test:valgrind tasks (with a few variants). See the …

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

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