# Ruby

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

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

---

## [Serialization ruby 1.8 vs ruby 1.9](https://www.ruby-forum.com/t/serialization-ruby-1-8-vs-ruby-1-9/181206)

<div class="topic-metadata">

**Author:** [@odo](https://www.ruby-forum.com/u/odo)\
**Replies:** 4\
**Last updated:** [January 7, 2010, 2:32pm UTC](https://www.ruby-forum.com/t/serialization-ruby-1-8-vs-ruby-1-9/181206 "2010-01-07T14:32:03Z")

</div>

Hi, I am trying to marshal objects with ruby 1.8 and read them with 1.9 but I get an error on date objects: ruby 1.8: f=File.new(’/tmp/date’, ‘w+’); f.puts Marshal.dump(Date.today); f.close ruby 1.9: m=File.read(’/…

---

## [Which shell?](https://www.ruby-forum.com/t/which-shell/181215)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 1\
**Last updated:** [January 7, 2010, 2:20pm UTC](https://www.ruby-forum.com/t/which-shell/181215 "2010-01-07T14:20:29Z")

</div>

It looks like Kernel#system uses sh, not bash, even though I told linux to use bash: #!/usr/bin/env ruby system(“echo $SHELL”) system(“ls -d /{etc,sbin}”) =\> /bin/bash ls: cannot access /{etc,sbin}: No such file o…

---

## [Nanoc 3.0.3](https://www.ruby-forum.com/t/nanoc-3-0-3/181204)

<div class="topic-metadata">

**Author:** [@dddennisdennis734](https://www.ruby-forum.com/u/dddennisdennis734)\
**Replies:** 3\
**Last updated:** [January 7, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/nanoc-3-0-3/181204 "2010-01-07T13:50:38Z")

</div>

Hi, nanoc 3.0.3 has been released. nanoc is a web publishing system written in Ruby for building small to medium-sized websites. It can use tools such as ERB, BlueCloth, Haml, Sass, Compass, and more. For more inform…

---

## [FireWatir Firefox attach](https://www.ruby-forum.com/t/firewatir-firefox-attach/181210)

<div class="topic-metadata">

**Author:** [@manojchourasia](https://www.ruby-forum.com/u/manojchourasia)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/firewatir-firefox-attach/181210 "2010-01-07T12:51:35Z")

</div>

Hi Can i attach to the opened Firefox browser by browser Handle like IE.hwn or browser index?

---

## [Each method in FireWatir::Firefox](https://www.ruby-forum.com/t/each-method-in-firewatir-firefox/181209)

<div class="topic-metadata">

**Author:** [@manojchourasia](https://www.ruby-forum.com/u/manojchourasia)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 12:47pm UTC](https://www.ruby-forum.com/t/each-method-in-firewatir-firefox/181209 "2010-01-07T12:47:10Z")

</div>

Hi I am trying to run my script in Firefox. I want to count hoe mant Firefox window has opened. I can do it easily in IE by following code. count=0 shell = WIN32OLE.new('Shell.Application') shell.Windows.each do…

---

## [Help](https://www.ruby-forum.com/t/help/181202)

<div class="topic-metadata">

**Author:** [@jagadeesh](https://www.ruby-forum.com/u/jagadeesh)\
**Replies:** 9\
**Last updated:** [January 7, 2010, 11:44am UTC](https://www.ruby-forum.com/t/help/181202 "2010-01-07T11:44:47Z")

</div>

hi Gurus, Here my data structure 1234 =\> { ‘open’ =\> ‘1234-1’, ‘analyzed’ =\> ‘1234-2’, ‘feedback’ =\> ‘1234-3’, ‘closed’ =\> ‘1234-4’ } 3455 =\> { ‘open’ =\> ‘3455-1’, ‘analyzed’ =\> ‘34552’, ‘feedback’ =\> ‘3455-3’, …

---

## [Controlling another browser window](https://www.ruby-forum.com/t/controlling-another-browser-window/181124)

<div class="topic-metadata">

**Author:** [@dezrtdude](https://www.ruby-forum.com/u/dezrtdude)\
**Replies:** 2\
**Last updated:** [January 7, 2010, 5:30am UTC](https://www.ruby-forum.com/t/controlling-another-browser-window/181124 "2010-01-07T05:30:21Z")

</div>

I have a set of static html files with their own links (essentially a book). What I want to do is have another browser window that’s a sort of companion tied to whichever window is viewing the book files, which will …

---

## [Ruby in Lisp, preLisp](https://www.ruby-forum.com/t/ruby-in-lisp-prelisp/181002)

<div class="topic-metadata">

**Author:** [@rulilupy](https://www.ruby-forum.com/u/rulilupy)\
**Replies:** 6\
**Last updated:** [January 7, 2010, 4:57am UTC](https://www.ruby-forum.com/t/ruby-in-lisp-prelisp/181002 "2010-01-07T04:57:45Z")

</div>

Hello, as I am learning Lisp and I like Ruby, I defined some macros in Lisp, for example f.each-line h.each-key h.each-value so you pay the price of having to specify the first argument, for example the following …

---

## [Falluto: A model checker for verifying fault tolerant systems](https://www.ruby-forum.com/t/falluto-a-model-checker-for-verifying-fault-tolerant-systems/181193)

<div class="topic-metadata">

**Author:** [@Edgardo\_H](https://www.ruby-forum.com/u/Edgardo_H)\
**Replies:** 1\
**Last updated:** [January 7, 2010, 4:50am UTC](https://www.ruby-forum.com/t/falluto-a-model-checker-for-verifying-fault-tolerant-systems/181193 "2010-01-07T04:50:55Z")

</div>

Hi guys, I’m very excited to announce the availability of Falluto: a model checker for verifying fault tolerant systems. Falluto extends the NuSMV\[0\] language to add fault declarations and uses NuSMV as its model ch…

---

## [When do we get this?](https://www.ruby-forum.com/t/when-do-we-get-this/179102)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 5\
**Last updated:** [January 7, 2010, 4:39am UTC](https://www.ruby-forum.com/t/when-do-we-get-this/179102 "2010-01-07T04:39:12Z")

</div>

http://devhawk.net/CommentView,guid,cef44285-b9e7-47c3-84b6-d79833c76875.aspx the question with regards to ironruby is when/if ? :slight\_smile: That sounds like it could be useful. Met vriendelijke groeten - Best rega…

---

## [Good or best way to allocate a large array](https://www.ruby-forum.com/t/good-or-best-way-to-allocate-a-large-array/178693)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 44\
**Last updated:** [January 7, 2010, 4:01am UTC](https://www.ruby-forum.com/t/good-or-best-way-to-allocate-a-large-array/178693 "2010-01-07T04:01:20Z")

</div>

Newbie here: I will want/need to create an array of approximately 300K rows and 20 columns. The array will be an array of either 32-bit quantities or 64-bit quantities. Does Ruby support native 64-bit quantities? Wh…

---

## [Is File.open deprecated?](https://www.ruby-forum.com/t/is-file-open-deprecated/181184)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 4\
**Last updated:** [January 7, 2010, 3:38am UTC](https://www.ruby-forum.com/t/is-file-open-deprecated/181184 "2010-01-07T03:38:18Z")

</div>

I don’t see it mentioned in the File chapter of the latest Pickaxe book? Is this just a mistake? I would think it would be mentioned as deprecated otherwise…??? Apparently I use File.new instead, but it seems like …

---

## [Clogger 0.2.0 - configurable logging for Rack](https://www.ruby-forum.com/t/clogger-0-2-0-configurable-logging-for-rack/181188)

<div class="topic-metadata">

**Author:** [@ericw](https://www.ruby-forum.com/u/ericw)\
**Replies:** 0\
**Last updated:** [January 7, 2010, 3:20am UTC](https://www.ruby-forum.com/t/clogger-0-2-0-configurable-logging-for-rack/181188 "2010-01-07T03:20:44Z")

</div>

Clogger is Rack middleware for logging HTTP requests. The log format is customizable so you can specify exactly which fields to log. http://clogger.rubyforge.org/ removed\_email\_address@domain.invalid git://git.bogomi…

---

## [Minitest 1.5.0 Released](https://www.ruby-forum.com/t/minitest-1-5-0-released/181183)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [January 7, 2010, 3:07am UTC](https://www.ruby-forum.com/t/minitest-1-5-0-released/181183 "2010-01-07T03:07:51Z")

</div>

minitest version 1.5.0 has been released! http://rubyforge.org/projects/bfts minitest/unit is a small and fast replacement for ruby’s huge and slow test/unit. This is meant to be clean and easy to use both as a regul…

---

## ["uninitialized constant" when database & app are hosted on Amazon](https://www.ruby-forum.com/t/uninitialized-constant-when-database-app-are-hosted-on-amazon/181185)

<div class="topic-metadata">

**Author:** [@arung](https://www.ruby-forum.com/u/arung)\
**Replies:** 1\
**Last updated:** [January 7, 2010, 1:54am UTC](https://www.ruby-forum.com/t/uninitialized-constant-when-database-app-are-hosted-on-amazon/181185 "2010-01-07T01:54:05Z")

</div>

Environment: JRuby 1.4, Rails 2.3.4, GlassFish v3, MySQL I’ve created a trivial Rails application (with just one scaffold) and deployed on GlassFish on my local MacBook, works fine. Moved the database to Amazon, chang…

---

## [Hoe 2.5.0 Released](https://www.ruby-forum.com/t/hoe-2-5-0-released/181182)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 11:37pm UTC](https://www.ruby-forum.com/t/hoe-2-5-0-released/181182 "2010-01-06T23:37:41Z")

</div>

hoe version 2.5.0 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ http://seattlerb.rubyforge.org/hoe/Hoe.pdf http://github.com/jbarnette/hoe-plugin-examples Hoe is a rak…

---

## [Hoe-seattlerb 1.2.2 Released](https://www.ruby-forum.com/t/hoe-seattlerb-1-2-2-released/181181)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 11:35pm UTC](https://www.ruby-forum.com/t/hoe-seattlerb-1-2-2-released/181181 "2010-01-06T23:35:21Z")

</div>

hoe-seattlerb version 1.2.2 has been released! http://seattlerb.rubyforge.org/hoe-seattlerb Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/…

---

## [Code Review: Mono5](https://www.ruby-forum.com/t/code-review-mono5/181179)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 11:24pm UTC](https://www.ruby-forum.com/t/code-review-mono5/181179 "2010-01-06T23:24:12Z")

</div>

tfpt review “/shelveset:Mono5;REDMOND\\tomat” Adds support for Mono to Dev.bat. Dev.bat takes an optional “mono” parameter and a path to the Mono bin directory. If supplied, it sets ROWAN\_RUNTIME environment variable t…

---

## [What's String.hash](https://www.ruby-forum.com/t/whats-string-hash/181135)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 5\
**Last updated:** [January 6, 2010, 11:07pm UTC](https://www.ruby-forum.com/t/whats-string-hash/181135 "2010-01-06T23:07:49Z")

</div>

irb(main):038:0\* x=“hello” =\> “hello” irb(main):039:0\> x.object\_id =\> 69352346 irb(main):040:0\> x.hash =\> 267522041 irb(main):041:0\> y=“hello”.intern =\> :hello irb(main):042:0\> y.object\_id =\> 246184 irb(main):0…

---

## [Bug on ruby\_parser gem?](https://www.ruby-forum.com/t/bug-on-ruby-parser-gem/181150)

<div class="topic-metadata">

**Author:** [@Andrea\_CSGranata](https://www.ruby-forum.com/u/Andrea_CSGranata)\
**Replies:** 2\
**Last updated:** [January 6, 2010, 11:06pm UTC](https://www.ruby-forum.com/t/bug-on-ruby-parser-gem/181150 "2010-01-06T23:06:04Z")

</div>

Hi there, I think i just found a bug on ruby\_parser gem on ruby 1.9.1 This is my code: encoding: utf-8 require ‘rubygems’ require ‘ruby\_parser’ parser = RubyParser.new text =\<\<EOF encoding: utf-8 #àèputs “text” ’ …

---

## [Invoke javascript by clicking an image](https://www.ruby-forum.com/t/invoke-javascript-by-clicking-an-image/181155)

<div class="topic-metadata">

**Author:** [@techie](https://www.ruby-forum.com/u/techie)\
**Replies:** 4\
**Last updated:** [January 6, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/invoke-javascript-by-clicking-an-image/181155 "2010-01-06T22:48:03Z")

</div>

I am newbie to Ruby so pl pardon my ignorance. I have an image in a web page which has the following code: \<img style = “cursor: hand”, onclick="javascript:fnC20WebCtrlOpenCtrlChangeProjectWindow(this,event,3,0,‘1022’…

---

## [JRuby 1.4.0 JDK/JRE requirement](https://www.ruby-forum.com/t/jruby-1-4-0-jdk-jre-requirement/181173)

<div class="topic-metadata">

**Author:** [@satynos](https://www.ruby-forum.com/u/satynos)\
**Replies:** 7\
**Last updated:** [January 6, 2010, 9:21pm UTC](https://www.ruby-forum.com/t/jruby-1-4-0-jdk-jre-requirement/181173 "2010-01-06T21:21:18Z")

</div>

I have developed a Rails application and deployed on Weblogic 10.3 with JDK/JRE 1.6.0\_13 with no problem. I am trying to deploy the same app on Weblogic 10.2 with JDK/JRE 1.5.0\_17 and the application is not even initi…

---

## [Html formatted string -displaying only upto specific length](https://www.ruby-forum.com/t/html-formatted-string-displaying-only-upto-specific-length/197118)

<div class="topic-metadata">

**Author:** [@subashinikumar](https://www.ruby-forum.com/u/subashinikumar)\
**Replies:** 1\
**Last updated:** [January 6, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/html-formatted-string-displaying-only-upto-specific-length/197118 "2010-01-06T19:06:42Z")

</div>

Hi I have a string str=“ Hgenrik Lundqvist,ggh nv gnm h fsgfb gthe preternaturally handsome Swedish goalie for the New York Rangers, may have been named one of test from Neskdufluh on december a 2009 ” i want to di…

---

## [Online math-coding contest](https://www.ruby-forum.com/t/online-math-coding-contest/181153)

<div class="topic-metadata">

**Author:** [@dhashrath\_govindara](https://www.ruby-forum.com/u/dhashrath_govindara)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 2:10pm UTC](https://www.ruby-forum.com/t/online-math-coding-contest/181153 "2010-01-06T14:10:26Z")

</div>

Hi , we gladly invite you to take part in Athena - the Online Math Coding Contest of Kurukshetra 2010 , the International Techo-Management Fest organised by College Of Engineering Guindy , India under the patronage o…

---

## [Rack 1.1, a modular Ruby webserver interface](https://www.ruby-forum.com/t/rack-1-1-a-modular-ruby-webserver-interface/181152)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/rack-1-1-a-modular-ruby-webserver-interface/181152 "2010-01-06T13:50:32Z")

</div>

Hello, Today, with a few days delay, we are proud to announce the release of Rack 1.1. = Rack, a modular Ruby webserver interface Rack provides a minimal, modular and adaptable interface for developing web applicati…

---

## [Subclassing in a C extension](https://www.ruby-forum.com/t/subclassing-in-a-c-extension/181080)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 4\
**Last updated:** [January 6, 2010, 9:24am UTC](https://www.ruby-forum.com/t/subclassing-in-a-c-extension/181080 "2010-01-06T09:24:17Z")

</div>

I’ve been trying to make a subclass written in C of the MySQL/Ruby class (mysql gem), which is also a C extension. I’m running into some problems and questions and I can’t seem to find anything explaining the right th…

---

## [Being very confused about this hash](https://www.ruby-forum.com/t/being-very-confused-about-this-hash/181137)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 4\
**Last updated:** [January 6, 2010, 6:56am UTC](https://www.ruby-forum.com/t/being-very-confused-about-this-hash/181137 "2010-01-06T06:56:11Z")

</div>

Hi, irb(main):039:0\> hash = Hash.new \[\] =\> {} irb(main):040:0\> hash\[‘abc’\] \<\< 3 =\> \[3\] irb(main):041:0\> hash.keys =\> \[\] irb(main):042:0\> hash\[‘def’\] =\> \[3\] Since I have created a key/value pair with hash\[‘abc’\] \<…

---

## [How to generate a collection?](https://www.ruby-forum.com/t/how-to-generate-a-collection/181081)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 2\
**Last updated:** [January 6, 2010, 5:08am UTC](https://www.ruby-forum.com/t/how-to-generate-a-collection/181081 "2010-01-06T05:08:43Z")

</div>

Given any four letter word, for example: “card” Replace one to three letters with “~”, How can I get the result collection ( \["~ard", “c~rd”, …, “~~r~”, “~~~d”\])? I know ruby, but I am bad at any algorithms, help ple…

---

## [Re: How Do I Debug This?](https://www.ruby-forum.com/t/re-how-do-i-debug-this/181132)

<div class="topic-metadata">

**Author:** [@Andrew\_Choi](https://www.ruby-forum.com/u/Andrew_Choi)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 2:20am UTC](https://www.ruby-forum.com/t/re-how-do-i-debug-this/181132 "2010-01-06T02:20:29Z")

</div>

p {margin-top:0px;margin-bottom:0px;} unsubscribe - Andrew Choi(removed\_email\_address@domain.invalid) ---------\[ ¹ÞÀº ¸ÞÀÏ ³»¿ë \]---------- Á¦¸ñ : Re: How Do I Debug This? ³¯Â¥ : 2010³â 1¿ù 06ÀÏ ¼ö…

---

## [Code Review: AstImprovements2](https://www.ruby-forum.com/t/code-review-astimprovements2/181134)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [January 6, 2010, 1:59am UTC](https://www.ruby-forum.com/t/code-review-astimprovements2/181134 "2010-01-06T01:59:25Z")

</div>

tfpt review “/shelveset:AstImprovements2;REDMOND\\tomat” DLR: Adds ExpressionCollectionBuilder (moves the implementation from IronRuby). This allows to construct optimized expressions via C# initializer syntax. Adds…

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

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