# Ruby

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

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

---

## [Ruby on rails](https://www.ruby-forum.com/t/ruby-on-rails/192202)

<div class="topic-metadata">

**Author:** [@music](https://www.ruby-forum.com/u/music)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 5:56pm UTC](https://www.ruby-forum.com/t/ruby-on-rails/192202 "2010-07-26T17:56:32Z")

</div>

Is it a NG also for ruby on rails?

---

## [redmine.ruby-lang.org$B$,Mn$A$F$k!)(B](https://www.ruby-forum.com/t/redmine-ruby-lang-org-b-mn-a-f-k-b/192167)

<div class="topic-metadata">

**Author:** [@kimura\_wataru](https://www.ruby-forum.com/u/kimura_wataru)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/redmine-ruby-lang-org-b-mn-a-f-k-b/192167 "2010-07-26T17:53:01Z")

</div>

e$BLZB\<e(B(e$B$oe(B)e$B$H$$$$$^$9!#e(B e$B$r8+$k$3$H$,$G$-$^$;$s!#e(B e$B$J$s$i$+$N\>c32$G$7$g$&$+!)$=$l$H$b%a%s%F%J%s%9$@$C$?$j$7$^$9$+!)e(B

---

## [Pooling objects in jruby](https://www.ruby-forum.com/t/pooling-objects-in-jruby/192114)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 4\
**Last updated:** [July 26, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/pooling-objects-in-jruby/192114 "2010-07-26T16:52:43Z")

</div>

I would like to pool some email connections within a jruby process to allow for concurrent access to an email account. Can anyone recommend an object pool implementation? thx. -karl To unsubscribe from this list, …

---

## [Writing binary file](https://www.ruby-forum.com/t/writing-binary-file/190696)

<div class="topic-metadata">

**Author:** [@tedforte](https://www.ruby-forum.com/u/tedforte)\
**Replies:** 2\
**Last updated:** [July 26, 2010, 4:49pm UTC](https://www.ruby-forum.com/t/writing-binary-file/190696 "2010-07-26T16:49:26Z")

</div>

Hi everyone, I’m trying to write a couple of numbers to a binary file: num = \[1234567, 30, 40\] File.open(“test.file”, “wb”) { |f| num.each { |e| f.write e.to\_i.pack(“I”) } f.write num.pack(“I”) } a = \[\] File.open(…

---

## [I got $2,000 from ' paypal'](https://www.ruby-forum.com/t/i-got-2-000-from-paypal/192218)

<div class="topic-metadata">

**Author:** [@paypal](https://www.ruby-forum.com/u/paypal)\
**Replies:** 0\
**Last updated:** [July 26, 2010, 3:47pm UTC](https://www.ruby-forum.com/t/i-got-2-000-from-paypal/192218 "2010-07-26T15:47:09Z")

</div>

I GOT $2,000 FROM ’ PAYPAL’ At http://veryhotguru.co.cc i have hidden the PayPal Form link in an image. in that website On Top Side Above search box , click on image and enter your PayPal id And Your name.

---

## [Beginning meta-programming question](https://www.ruby-forum.com/t/beginning-meta-programming-question/192198)

<div class="topic-metadata">

**Author:** [@rawroe](https://www.ruby-forum.com/u/rawroe)\
**Replies:** 2\
**Last updated:** [July 26, 2010, 8:34am UTC](https://www.ruby-forum.com/t/beginning-meta-programming-question/192198 "2010-07-26T08:34:31Z")

</div>

I’m pretty new to ruby, and just playing around. I can’t work out why the following won’t work, though: module TrackInheritors def self.extended(parent) class \<\< parent puts self @@inheritors = \[\] …

---

## [\[ANN\] Inochi 4.0.0](https://www.ruby-forum.com/t/ann-inochi-4-0-0/192194)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [July 26, 2010, 4:21am UTC](https://www.ruby-forum.com/t/ann-inochi-4-0-0/192194 "2010-07-26T04:21:44Z")

</div>

Inochi Gives life to Ruby projects http://snk.tuxfamily.org/lib/inochi/ Inochi is an infrastructure for Ruby projects that helps you test, document, package, publi…

---

## [\[ANN\] Detest 3.1.0](https://www.ruby-forum.com/t/ann-detest-3-1-0/192196)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [July 26, 2010, 3:45am UTC](https://www.ruby-forum.com/t/ann-detest-3-1-0/192196 "2010-07-26T03:45:03Z")

</div>

Detest Assertion testing library for Ruby http://snk.tuxfamily.org/lib/detest/ Detest is an assertion testing library for Ruby that emphasizes a simple assertion vocab…

---

## [Building an array of hash tables](https://www.ruby-forum.com/t/building-an-array-of-hash-tables/192192)

<div class="topic-metadata">

**Author:** [@tedforte](https://www.ruby-forum.com/u/tedforte)\
**Replies:** 1\
**Last updated:** [July 26, 2010, 3:17am UTC](https://www.ruby-forum.com/t/building-an-array-of-hash-tables/192192 "2010-07-26T03:17:17Z")

</div>

I know how to build a hash table. frequencies = Hash.new(0) arr = line.split(’,’) frequencies\[arr\[0\]\] += 1 and I know how to build an array myArr = Array.new but I want to know how to build an array of hash tables,…

---

## [\[Bug: trunk\] rb\_gc\_mark(): unknown data type](https://www.ruby-forum.com/t/bug-trunk-rb-gc-mark-unknown-data-type/192157)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 3:12am UTC](https://www.ruby-forum.com/t/bug-trunk-rb-gc-mark-unknown-data-type/192157 "2010-07-26T03:12:36Z")

</div>

e$B!!$5$5$@$G$9!#e(B e$B!!\>$7$/DI$C$F$$$J$$$N$G$9$,!"e(B\[BUG\] e$B$,=P$^$7$?!#:G=i$Oe(B mswin32 e$B$G=P2q$Ce(B e$B$F!"e(Bruby 1.9.3dev (2010-07-25 trunk 28751) \[x86\_64-linux\] e$B$G:F8=$9$k$3$He(B e$B$r3NG’$7$^$7$?!#e(…

---

## [Apache Pivot example written in JRuby](https://www.ruby-forum.com/t/apache-pivot-example-written-in-jruby/187190)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 4\
**Last updated:** [July 26, 2010, 2:33am UTC](https://www.ruby-forum.com/t/apache-pivot-example-written-in-jruby/187190 "2010-07-26T02:33:58Z")

</div>

Hi, Has anyone got or found a working Apache Pivot (http:// pivot.apache.org) code example written in JRuby? I’m trying to create one but failing miserably. There are numerous Swing code examples written in JRuby an…

---

## [Ri odd behavior](https://www.ruby-forum.com/t/ri-odd-behavior/192164)

<div class="topic-metadata">

**Author:** [@Jean-Julien\_F](https://www.ruby-forum.com/u/Jean-Julien_F)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 2:19am UTC](https://www.ruby-forum.com/t/ri-odd-behavior/192164 "2010-07-26T02:19:21Z")

</div>

Hello, How would you correct this “bug” in ri ? ~\> ri Object#tap More than one method matched your request. You can refine your search by asking for information on one of: Object#tap, Object#tap There seem to be no…

---

## [\* operator, Float](https://www.ruby-forum.com/t/operator-float/192177)

<div class="topic-metadata">

**Author:** [@industrial\_ghetto](https://www.ruby-forum.com/u/industrial_ghetto)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 12:51am UTC](https://www.ruby-forum.com/t/operator-float/192177 "2010-07-26T00:51:00Z")

</div>

Where is the \* operator defined for Float? ree-1.8.7-2010.02 \> 3.0.methods.grep “" =\> \["”\] ree-1.8.7-2010.02 \> 3.0.class =\> Float ree-1.8.7-2010.02 \> Float.methods.grep “" =\> \[\] ree-1.8.7-2010.02 \> Float.superclas…

---

## [Basic beginner help needed](https://www.ruby-forum.com/t/basic-beginner-help-needed/192152)

<div class="topic-metadata">

**Author:** [@karlhoover](https://www.ruby-forum.com/u/karlhoover)\
**Replies:** 6\
**Last updated:** [July 26, 2010, 12:45am UTC](https://www.ruby-forum.com/t/basic-beginner-help-needed/192152 "2010-07-26T00:45:43Z")

</div>

I am new to Ruby and have been looking for some basic beginner help. I have not been able to find a beginner forum anywhere, so I apologize if this is too basic a question for this group. I have installed ruby 1.9.1 …

---

## [Can't build SilverlightV3 configuration](https://www.ruby-forum.com/t/cant-build-silverlightv3-configuration/192168)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 9:17pm UTC](https://www.ruby-forum.com/t/cant-build-silverlightv3-configuration/192168 "2010-07-25T21:17:55Z")

</div>

I can’t build IronRuby configured for silverlight. Here’s the command I tried: C:\\source\\RMXPx\\src\\Languages\\Ruby\>msbuild %DLR\_ROOT%\\Solutions\\Ruby.sln /p:Configuration=“Silverlight3Debug” /p:SilverlightPath="C:\\Prog…

---

## [SSL communication with Mechanize](https://www.ruby-forum.com/t/ssl-communication-with-mechanize/192162)

<div class="topic-metadata">

**Author:** [@poseid](https://www.ruby-forum.com/u/poseid)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/ssl-communication-with-mechanize/192162 "2010-07-25T18:16:27Z")

</div>

In a network with SSL protection, I can work with http by using: http.verify\_mode = OpenSSL::SSL::VERIFY\_NONE However, trying to use Mechanize: irb(main):033:0\> login\_page = agent.get(url) OpenSSL::SSL::SSLError: SSL…

---

## [Standalone ruby-tk application for Windows from Linux](https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173)

<div class="topic-metadata">

**Author:** [@hikayu](https://www.ruby-forum.com/u/hikayu)\
**Replies:** 1\
**Last updated:** [July 25, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173 "2010-07-25T18:15:11Z")

</div>

I’ve made a (somewhat) online multiplayer ruby game using the tcl/tk libary. Now I’d like to test it out with some friends. Problem? It has to be as simple as possible. They aren’t tech-savvy. All I need to make is an…

---

## [Assign blocks to variables](https://www.ruby-forum.com/t/assign-blocks-to-variables/192172)

<div class="topic-metadata">

**Author:** [@poseid](https://www.ruby-forum.com/u/poseid)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/assign-blocks-to-variables/192172 "2010-07-25T18:05:55Z")

</div>

If you want to work on a function that takes a block as input, is it possible to assign the block to a variable? In other words, how would you parameterize this in irb: myfunc { otherfunc { |a| print a } }

---

## [SharpDevelop](https://www.ruby-forum.com/t/sharpdevelop/192171)

<div class="topic-metadata">

**Author:** [@Miguel\_Madero](https://www.ruby-forum.com/u/Miguel_Madero)\
**Replies:** 0\
**Last updated:** [July 25, 2010, 4:27pm UTC](https://www.ruby-forum.com/t/sharpdevelop/192171 "2010-07-25T16:27:35Z")

</div>

I saw this on twitter todayhttp://twitter.com/SharpDevelop/statuses/19486122559that SharpDevelop 4.0 supports IronRuby 4.0 http://build.sharpdevelop.net/buildartefacts/ http://build.sharpdevelop.net/buildartefacts/Th…

---

## [Conference Hotel Announced for LSRC 2010](https://www.ruby-forum.com/t/conference-hotel-announced-for-lsrc-2010/192170)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 25, 2010, 4:23pm UTC](https://www.ruby-forum.com/t/conference-hotel-announced-for-lsrc-2010/192170 "2010-07-25T16:23:29Z")

</div>

Howdy The Lone Star Ruby Conference, held Aug 26-28 in Austin, TX, is right around the corner, and is sure to be one of the best darn blame conferences you can attend this year. We have announced the conference hotel…

---

## [Col 1.0.0 -- high-level console color library](https://www.ruby-forum.com/t/col-1-0-0-high-level-console-color-library/192169)

<div class="topic-metadata">

**Author:** [@gavin\_s](https://www.ruby-forum.com/u/gavin_s)\
**Replies:** 0\
**Last updated:** [July 25, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/col-1-0-0-high-level-console-color-library/192169 "2010-07-25T16:18:48Z")

</div>

col: high-level console color formatting for Ruby If you want a dash of color in your Ruby console program, use Term::ANSIColor. If your color formatting requirements are more complicated, use Col. Col provides as mu…

---

## [Design Question](https://www.ruby-forum.com/t/design-question/192135)

<div class="topic-metadata">

**Author:** [@mochigome](https://www.ruby-forum.com/u/mochigome)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 3:25pm UTC](https://www.ruby-forum.com/t/design-question/192135 "2010-07-25T15:25:35Z")

</div>

Hi guys, I have a program design question regarding mix-ins. I currently have 5 modules: module Authentication end module User end module Issue end module Network end module Object end and a single class whi…

---

## [Where's the Scintilla Text Editor?](https://www.ruby-forum.com/t/wheres-the-scintilla-text-editor/192154)

<div class="topic-metadata">

**Author:** [@marlon](https://www.ruby-forum.com/u/marlon)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/wheres-the-scintilla-text-editor/192154 "2010-07-25T15:15:55Z")

</div>

Hi. I’m reading Chris P.'s online tutorial. From the tutorial: “The Ruby installer comes with a lovely text editor called SciTE (the Scintilla Text Editor). You can run SciTE by selecting it from the start menu. If y…

---

## [\[ann\] difects 3.0.1](https://www.ruby-forum.com/t/ann-difects-3-0-1/192156)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [July 25, 2010, 9:54am UTC](https://www.ruby-forum.com/t/ann-difects-3-0-1/192156 "2010-07-25T09:54:55Z")

</div>

DIFECTS Assertion testing library for Ruby http://snk.tuxfamily.org/lib/difects/ DIFECTS is an assertion testing library for Ruby that emphasizes a simple assertion vo…

---

## [Mechanzie submit fails at gmail login](https://www.ruby-forum.com/t/mechanzie-submit-fails-at-gmail-login/191962)

<div class="topic-metadata">

**Author:** [@chugm456789](https://www.ruby-forum.com/u/chugm456789)\
**Replies:** 7\
**Last updated:** [July 25, 2010, 6:32am UTC](https://www.ruby-forum.com/t/mechanzie-submit-fails-at-gmail-login/191962 "2010-07-25T06:32:23Z")

</div>

Hallo everybody, I try to write a script that checks my gmails automatically. But when I try to submit the login form, I get the exception 404 =\> Net::HTTPNotFound. Can anyone help? Code is: @LoginUrl = ‘http://mail…

---

## [\[ann\] difects 3.0.0](https://www.ruby-forum.com/t/ann-difects-3-0-0/192153)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 1\
**Last updated:** [July 25, 2010, 4:41am UTC](https://www.ruby-forum.com/t/ann-difects-3-0-0/192153 "2010-07-25T04:41:58Z")

</div>

DIFECTS Assertion testing library for Ruby http://snk.tuxfamily.org/lib/difects/ DIFECTS is an assertion testing library for Ruby that emphasizes a simple assertion vo…

---

## [Kcar 0.1.1 - bytestream to Rack response converter](https://www.ruby-forum.com/t/kcar-0-1-1-bytestream-to-rack-response-converter/192150)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [July 25, 2010, 2:19am UTC](https://www.ruby-forum.com/t/kcar-0-1-1-bytestream-to-rack-response-converter/192150 "2010-07-25T02:19:35Z")

</div>

kcar features an HTTP parser that will convert a bytestream into a 3-element array suitable for use as a Rack response. It is IO interface agnostic, so it may be used with HTTP streams over Unix domain sockets, regul…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/192117)

<div class="topic-metadata">

**Author:** [@Zach\_Banks](https://www.ruby-forum.com/u/Zach_Banks)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 12:02am UTC](https://www.ruby-forum.com/t/unsubscribe/192117 "2010-07-25T00:02:36Z")

</div>

Unsubscribe Sent from my iPhone

---

## [Actionpack still depends on rack 1.1](https://www.ruby-forum.com/t/actionpack-still-depends-on-rack-1-1/192146)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 1\
**Last updated:** [July 25, 2010, 12:00am UTC](https://www.ruby-forum.com/t/actionpack-still-depends-on-rack-1-1/192146 "2010-07-25T00:00:51Z")

</div>

There is an update for rack gem to version 1.2 but actionpack still depends on version 1.1? Then why developers put a rack gem version that actionpack can’t use? To unsubscribe from this list, please visit: http://x…

---

## [Count occurences of vars in array](https://www.ruby-forum.com/t/count-occurences-of-vars-in-array/191907)

<div class="topic-metadata">

**Author:** [@fuksito](https://www.ruby-forum.com/u/fuksito)\
**Replies:** 17\
**Last updated:** [July 24, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/count-occurences-of-vars-in-array/191907 "2010-07-24T23:47:23Z")

</div>

Hello, everyone. Would be grateful if someone can tell, how can I do shortly (mb with one method) from such example array \[“a”, “b”, “a”, “c”, “c”, “b”, “b”\] The result a =\> 2 b =\> 3 c =\> 2 So, to count number of…

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

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