# Ruby

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

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

---

## [RedBridge NoSuchMethodError](https://www.ruby-forum.com/t/redbridge-nosuchmethoderror/188907)

<div class="topic-metadata">

**Author:** [@consiliens](https://www.ruby-forum.com/u/consiliens)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/redbridge-nosuchmethoderror/188907 "2010-05-20T22:40:04Z")

</div>

start.rb calls Red.java’s hello method which calls hi.rb’s hi method resulting in a NoSuchMethodError error. If I run Red.java directly, instead of start.rb, then the code works. What’s the proper way to have start.…

---

## [\[Bug:1.9\] irb fg](https://www.ruby-forum.com/t/bug-1-9-irb-fg/140252)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 9\
**Last updated:** [May 20, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/bug-1-9-irb-fg/140252 "2010-05-20T21:37:25Z")

</div>

e$B@\>;3OB9-$G$9!#e(B fge$B$K0z?t$r;XDj$7$J$+$C$?$je(Bjobse$B$K$J$$?tCM$r;XDj$9$k$He(B e$B!Ve(BMaybe IRB bug!!e$B!W$K$J$j$^$9!#e(B e$B!Ve(BMaybe IRB bug!!e$B!W$NA0$K2~9T$,$J$$$N$bJQ$J5$$,$7$^$9!#e(B % irb-trunk -r irb…

---

## [(jruby 1.5) Issue/Question with embed (RedBridge), and "refreshing" code](https://www.ruby-forum.com/t/jruby-1-5-issue-question-with-embed-redbridge-and-refreshing-code/187977)

<div class="topic-metadata">

**Author:** [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/jruby-1-5-issue-question-with-embed-redbridge-and-refreshing-code/187977 "2010-05-20T21:30:23Z")

</div>

Hello - I have been working on converting an existing RoR app into a glassfish environment, using jruby, etc. One of the things that I am trying to get working, is a way to have a couple of extra processes running (b…

---

## [Performance problems when rendering Rails Erb templates](https://www.ruby-forum.com/t/performance-problems-when-rendering-rails-erb-templates/188876)

<div class="topic-metadata">

**Author:** [@Yogi](https://www.ruby-forum.com/u/Yogi)\
**Replies:** 9\
**Last updated:** [May 20, 2010, 7:46pm UTC](https://www.ruby-forum.com/t/performance-problems-when-rendering-rails-erb-templates/188876 "2010-05-20T19:46:10Z")

</div>

Hi, Over the past few weeks we’ve been trying to diagnose severe performance bottlenecks in our JRuby on Rails app, which I had originally reported in http://jira.codehaus.org/browse/JRUBY-4773. While the fix for 477…

---

## [Class best way for getters?](https://www.ruby-forum.com/t/class-best-way-for-getters/188654)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvue](https://www.ruby-forum.com/u/Une_BSSSSvue)\
**Replies:** 11\
**Last updated:** [May 20, 2010, 7:30pm UTC](https://www.ruby-forum.com/t/class-best-way-for-getters/188654 "2010-05-20T19:30:22Z")

</div>

i have a class “HFSFile” initialized by a parsed string after initialization i get a Hash @attr with keys like :name, :creation\_date etc… what is the best way to write a getter for each individual key ? the obvious w…

---

## [CGI Request Failing](https://www.ruby-forum.com/t/cgi-request-failing/188933)

<div class="topic-metadata">

**Author:** [@exiquio](https://www.ruby-forum.com/u/exiquio)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/cgi-request-failing/188933 "2010-05-20T18:05:29Z")

</div>

I wrote the site at tetractysproductions.com. It is a CGI driven webpage being served by Cherokee. It is pretty simple. I make asyncronous requests t o fill the various “containers” around the page. On my development…

---

## [Read text file and check multiple checkbox](https://www.ruby-forum.com/t/read-text-file-and-check-multiple-checkbox/188920)

<div class="topic-metadata">

**Author:** [@sweetzubair](https://www.ruby-forum.com/u/sweetzubair)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/read-text-file-and-check-multiple-checkbox/188920 "2010-05-20T17:34:27Z")

</div>

Hi Friends, I try to check the Multiple Checkboxes in the page. first i read the value in the text file and assing it to the variable. but the problem is that at the time only one check box are selected. textfil…

---

## [Jruby app won't start in Jboss](https://www.ruby-forum.com/t/jruby-app-wont-start-in-jboss/188464)

<div class="topic-metadata">

**Author:** [@venka10](https://www.ruby-forum.com/u/venka10)\
**Replies:** 12\
**Last updated:** [May 20, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/jruby-app-wont-start-in-jboss/188464 "2010-05-20T17:01:51Z")

</div>

Hello all: I have been trying to package a working RoR app into a WAR file and deploy it to Jboss. By using Warble I am able to create the WAR file successfully, but, when it gets deployed to JBoss 5, the app fails t…

---

## [Visit a url programatically](https://www.ruby-forum.com/t/visit-a-url-programatically/188351)

<div class="topic-metadata">

**Author:** [@kevid](https://www.ruby-forum.com/u/kevid)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/visit-a-url-programatically/188351 "2010-05-20T16:21:29Z")

</div>

hi all, i have the code below; require ‘rexml/document’ require ‘open-uri’ open(‘http://api.evdb.com/rest/users/login?app\_key=ct2hJqTCg4XLCP5h’) { |f| $res = REXML::Document.new(f.read) } the xml data that is rea…

---

## [\[Bug #3319\] Regexp#union$B$N@bL@$HF0:n$G?)$$0c$$$,$"$k!#(B](https://www.ruby-forum.com/t/bug-3319-regexp-union-b-n-bl-hf0-n-g-0c-k-b/188862)

<div class="topic-metadata">

**Author:** [@Masaya\_T](https://www.ruby-forum.com/u/Masaya_T)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/bug-3319-regexp-union-b-n-bl-hf0-n-g-0c-k-b/188862 "2010-05-20T15:58:26Z")

</div>

Bug #3319: Regexp#unione$B$N@bL@$HF0:n$G?)$$0c$$$,$"$k!#e(B http://redmine.ruby-lang.org/issues/show/3319 e$B5/I\<\<Te(B: Masaya T. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ruby -v: ruby 1.9.…

---

## [Office docs fuzzer](https://www.ruby-forum.com/t/office-docs-fuzzer/188914)

<div class="topic-metadata">

**Author:** [@balzer](https://www.ruby-forum.com/u/balzer)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 1:56pm UTC](https://www.ruby-forum.com/t/office-docs-fuzzer/188914 "2010-05-20T13:56:03Z")

</div>

Anyone know Ruby based Office docs fuzzer (word, excel, etc), run on standalone PC (no dedicated servers),no MySQL

---

## [Method returning a hash, is the hash in the heap?](https://www.ruby-forum.com/t/method-returning-a-hash-is-the-hash-in-the-heap/188894)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 1:16pm UTC](https://www.ruby-forum.com/t/method-returning-a-hash-is-the-hash-in-the-heap/188894 "2010-05-20T13:16:49Z")

</div>

For this program: class Point def initialize(x,y) @x,@y = x,y @something = 123.456 end def instance\_variables\_and\_values hash = {} instance\_variables.each {|n| hash\[n\] = instance\_variable\_get(n)} return hash en…

---

## [\[Bug #3318\] net/imap/test\_imap.rb reports an error on Windows](https://www.ruby-forum.com/t/bug-3318-net-imap-test-imap-rb-reports-an-error-on-windows/188850)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 5\
**Last updated:** [May 20, 2010, 9:50am UTC](https://www.ruby-forum.com/t/bug-3318-net-imap-test-imap-rb-reports-an-error-on-windows/188850 "2010-05-20T09:50:46Z")

</div>

Bug #3318: net/imap/test\_imap.rb reports an error on Windows http://redmine.ruby-lang.org/issues/show/3318 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Shugo M., e$B%+%F…

---

## [Retrieve instance](https://www.ruby-forum.com/t/retrieve-instance/188866)

<div class="topic-metadata">

**Author:** [@walle](https://www.ruby-forum.com/u/walle)\
**Replies:** 10\
**Last updated:** [May 20, 2010, 8:56am UTC](https://www.ruby-forum.com/t/retrieve-instance/188866 "2010-05-20T08:56:20Z")

</div>

Quick question. Can I somehow retrieve the instance of the class Test in which the variable con exists. As in the example below, can I retrieve the instance of Test from the variable p? class Test attr\_accessor :con …

---

## [\[Bug #3037\] testrb $B$NF0:n$,(B1.8.7 $B$N(B testrb $B$H0c$$$9$.$k(B](https://www.ruby-forum.com/t/bug-3037-testrb-b-nf0-n-b1-8-7-b-n-b-testrb-b-h0c-9-k-b/188904)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 8:41am UTC](https://www.ruby-forum.com/t/bug-3037-testrb-b-nf0-n-b1-8-7-b-n-b-testrb-b-h0c-9-k-b/188904 "2010-05-20T08:41:42Z")

</div>

e$B%A%1%C%He(B #3037 e$B$,99?7$5$l$^$7$?!#e(B (by okkez \_) e$B$3$N7o$G$9$,!"e(Btest/unit e$B$N%a%s%F%J$H$7$F%j%9%H$5$l$F$$$?e(B Ryan D. e$B$Ke(B e$BLd$$9g$o$;$?$H$3$me(B (#3275) e$B!"e(BRyan e$B$Oe(B test/unit e$B$N%a…

---

## [XmlSimple not working](https://www.ruby-forum.com/t/xmlsimple-not-working/188901)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 1\
**Last updated:** [May 20, 2010, 8:21am UTC](https://www.ruby-forum.com/t/xmlsimple-not-working/188901 "2010-05-20T08:21:23Z")

</div>

Dear Friends, I have installed xml-simple(1.0.12) in my system. When i tried to run an sample using xml-simple, i getting error like this. require ‘rubygems’ require ‘xmlsimple’ con = XmlSimple.xml\_in("") testing.…

---

## [Passing values from partial to controller](https://www.ruby-forum.com/t/passing-values-from-partial-to-controller/188902)

<div class="topic-metadata">

**Author:** [@drk](https://www.ruby-forum.com/u/drk)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 8:05am UTC](https://www.ruby-forum.com/t/passing-values-from-partial-to-controller/188902 "2010-05-20T08:05:34Z")

</div>

My partial: \<p\> \<span title="Click to edit" id="edit\_location"\> \<%= link\_to grouprow.group\_name %\> \<%= custom\_button('Change') %\> \</p\> \</div\> \<% fo…

---

## [Define\_method inside instance\_eval](https://www.ruby-forum.com/t/define-method-inside-instance-eval/188893)

<div class="topic-metadata">

**Author:** [@anr](https://www.ruby-forum.com/u/anr)\
**Replies:** 10\
**Last updated:** [May 20, 2010, 6:12am UTC](https://www.ruby-forum.com/t/define-method-inside-instance-eval/188893 "2010-05-20T06:12:12Z")

</div>

Hi, I’m trying to create a class macro that, when called, defines a class method that returns the array passed to the class macro. For example, I’d have something like this in an included module: def status\_field(\*ar…

---

## [Want to know whether Ruby supports ASN1 Decoders](https://www.ruby-forum.com/t/want-to-know-whether-ruby-supports-asn1-decoders/188895)

<div class="topic-metadata">

**Author:** [@sajualways](https://www.ruby-forum.com/u/sajualways)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 4:37am UTC](https://www.ruby-forum.com/t/want-to-know-whether-ruby-supports-asn1-decoders/188895 "2010-05-20T04:37:35Z")

</div>

Hi, Whether Ruby can be used for Binary protocol testing??? Regards, saju

---

## [Handling Events - Help](https://www.ruby-forum.com/t/handling-events-help/188830)

<div class="topic-metadata">

**Author:** [@iroupa](https://www.ruby-forum.com/u/iroupa)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 2:57am UTC](https://www.ruby-forum.com/t/handling-events-help/188830 "2010-05-20T02:57:00Z")

</div>

Hi all, I have crated a application with two TextCtrl boxes (One for write and the other to show the text that it’s written on the first box). I try to use the “evt\_text() { | event | }” but when I run the applicatio…

---

## [Write to the top of a file](https://www.ruby-forum.com/t/write-to-the-top-of-a-file/188891)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 2\
**Last updated:** [May 20, 2010, 1:26am UTC](https://www.ruby-forum.com/t/write-to-the-top-of-a-file/188891 "2010-05-20T01:26:16Z")

</div>

Hi, I want to write some content to an existing file and I want to new content be the first line of the file. How to do that? Thanks

---

## [How to print out all of an object's instance variables?](https://www.ruby-forum.com/t/how-to-print-out-all-of-an-objects-instance-variables/188847)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 5\
**Last updated:** [May 19, 2010, 11:26pm UTC](https://www.ruby-forum.com/t/how-to-print-out-all-of-an-objects-instance-variables/188847 "2010-05-19T23:26:01Z")

</div>

When it is RoR, we can use ActiveRecord’s attributes method to get a hash for a record’s column name and values. How about if it is just an object in Ruby, and we want to print out all instance variables to debug, wh…

---

## [Re: Git push](https://www.ruby-forum.com/t/re-git-push/188888)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/re-git-push/188888 "2010-05-19T22:31:49Z")

</div>

Oh, I thought the directions were changed to send to the Codeplex team. I’ll update them From: Will G. removed\_email\_address@domain.invalid Sent: Tuesday, May 18, 2010 5:33 PM To: removed\_email\_address@domain.invali…

---

## [Agile web Development with Rails section 9.3](https://www.ruby-forum.com/t/agile-web-development-with-rails-section-9-3/188873)

<div class="topic-metadata">

**Author:** [@angel-il6](https://www.ruby-forum.com/u/angel-il6)\
**Replies:** 4\
**Last updated:** [May 19, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/agile-web-development-with-rails-section-9-3/188873 "2010-05-19T21:20:23Z")

</div>

Hello I am reading Agile Web D. with rails (third addition). And I need some help with it. I have reached chapter 9.3 when I press on the add to cart button I get an error message. a real ugly one. eventually, I do…

---

## [Watir and shoes problem](https://www.ruby-forum.com/t/watir-and-shoes-problem/188880)

<div class="topic-metadata">

**Author:** [@site-master](https://www.ruby-forum.com/u/site-master)\
**Replies:** 1\
**Last updated:** [May 19, 2010, 8:59pm UTC](https://www.ruby-forum.com/t/watir-and-shoes-problem/188880 "2010-05-19T20:59:47Z")

</div>

Hi I was trying to write a scrip useing the watir gem and shoes gui. I know how to install the gem to shoes but i get the error hoe requires RubyGems version \>= 1.3.1 This happens as shoes trys to install the gem. I …

---

## [Extra output?](https://www.ruby-forum.com/t/extra-output/188819)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [May 19, 2010, 8:53pm UTC](https://www.ruby-forum.com/t/extra-output/188819 "2010-05-19T20:53:40Z")

</div>

Hi all. Sorry for the flood. Another question: When running my rails unit tests, with 1.9.x MRI I get failure messages that look like: Error: test\_should\_create\_image(ImageTest): NoMethodError: undefined method f…

---

## [Immediate need for Business Analyst with Cognos exp in MO](https://www.ruby-forum.com/t/immediate-need-for-business-analyst-with-cognos-exp-in-mo/188882)

<div class="topic-metadata">

**Author:** [@jsimone](https://www.ruby-forum.com/u/jsimone)\
**Replies:** 0\
**Last updated:** [May 19, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/immediate-need-for-business-analyst-with-cognos-exp-in-mo/188882 "2010-05-19T20:30:37Z")

</div>

Hi All, Below is a very urgent need, please submit qualified resumes for the below given requirement with rate, Availability and Contact Information to removed\_email\_address@domain.invalid ASAP Title: …

---

## [Visual effect for the div](https://www.ruby-forum.com/t/visual-effect-for-the-div/188856)

<div class="topic-metadata">

**Author:** [@drk](https://www.ruby-forum.com/u/drk)\
**Replies:** 1\
**Last updated:** [May 19, 2010, 8:22pm UTC](https://www.ruby-forum.com/t/visual-effect-for-the-div/188856 "2010-05-19T20:22:25Z")

</div>

Hi In a partial, I display “group\_name” , when clicked on groupname the div with id=“abc” should appear below my group. I want to make my div visible false initially at the time of loading my page and Once click on …

---

## [Simple debugging using JRuby embed](https://www.ruby-forum.com/t/simple-debugging-using-jruby-embed/188867)

<div class="topic-metadata">

**Author:** [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Replies:** 2\
**Last updated:** [May 19, 2010, 8:02pm UTC](https://www.ruby-forum.com/t/simple-debugging-using-jruby-embed/188867 "2010-05-19T20:02:30Z")

</div>

Hello, I am developing a very simple IDE for a Ruby internal DSL, and currently I need to implement some simple debugging in it - by simple I mean at least being able to set breakpoints and step by step execution. A…

---

## [64 bit ruby interpreter](https://www.ruby-forum.com/t/64-bit-ruby-interpreter/188831)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 6\
**Last updated:** [May 19, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/64-bit-ruby-interpreter/188831 "2010-05-19T18:28:37Z")

</div>

Since when does 64bit ruby interpreter exists? Last year I didn’t find those. Were they recently developed?

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

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