# Ruby

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

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

---

## [Ruby editor for linux](https://www.ruby-forum.com/t/ruby-editor-for-linux/165050)

<div class="topic-metadata">

**Author:** [@juan\_zanos](https://www.ruby-forum.com/u/juan_zanos)\
**Replies:** 30\
**Last updated:** [April 10, 2009, 4:32am UTC](https://www.ruby-forum.com/t/ruby-editor-for-linux/165050 "2009-04-10T04:32:37Z")

</div>

Does anyone have any suggestions for a Ruby editor on Linux? I usually use TextMate on the mac. I’m running Kubuntu and I’ve tried Kate, Emacs, and vi. At least with the default setup I can’t say I’m very prod…

---

## [April Phoenix Ruby User Group Meeting](https://www.ruby-forum.com/t/april-phoenix-ruby-user-group-meeting/165202)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 4:20am UTC](https://www.ruby-forum.com/t/april-phoenix-ruby-user-group-meeting/165202 "2009-04-10T04:20:20Z")

</div>

April Phoenix Ruby U. Group Meeting Date: Monday, April 13, 2009 Time: 6:30 pm Place: Target Training International offices 17785 N. Pacesetter Way Scottsdale AZ, 85255 Note the meeting location! We are meeting …

---

## [Help with http get, and filtering out the returned data!](https://www.ruby-forum.com/t/help-with-http-get-and-filtering-out-the-returned-data/165200)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 4:06am UTC](https://www.ruby-forum.com/t/help-with-http-get-and-filtering-out-the-returned-data/165200 "2009-04-10T04:06:54Z")

</div>

Hello team, I need recommendations on what to use to accomplish the following with a Ruby program. Today, I do the following by hand: http://www.bmwusa.com/ Click bottom “Certified Pre\_Owned” which takes me to: htt…

---

## [A trivial formatting question](https://www.ruby-forum.com/t/a-trivial-formatting-question/165186)

<div class="topic-metadata">

**Author:** [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 3:55am UTC](https://www.ruby-forum.com/t/a-trivial-formatting-question/165186 "2009-04-10T03:55:47Z")

</div>

Hi all from a 30-year veteran, but rather a Ruby noob, I’ve been looking around for a Ruby IDE, and came across the soon to be released RubyMine. It looks to be a promising program, with a very nice code reformatter. …

---

## [Rake-compiler 0.4.1 Released](https://www.ruby-forum.com/t/rake-compiler-0-4-1-released/165194)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 2:06am UTC](https://www.ruby-forum.com/t/rake-compiler-0-4-1-released/165194 "2009-04-10T02:06:49Z")

</div>

rake-compiler version 0.4.1 has been released! http://github.com/luislavena/rake-compiler http://rubyforge.org/projects/rake-compiler = rake-compiler rake-compiler aims to help Gem developers while dealing with Ruby …

---

## [Code Review: OverloadResolver](https://www.ruby-forum.com/t/code-review-overloadresolver/165191)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [April 10, 2009, 1:16am UTC](https://www.ruby-forum.com/t/code-review-overloadresolver/165191 "2009-04-10T01:16:31Z")

</div>

tfpt review “/shelveset:OverloadResolver;REDMOND\\tomat” Outer DLR, Ruby. OverloadResolver follow-up changes: Merges MethodTarget into MethodCandidate, moves methods from MethodCandidate and ParameterWrapper to Overlo…

---

## [How to dynamically create search term for array.find\_all](https://www.ruby-forum.com/t/how-to-dynamically-create-search-term-for-array-find-all/164791)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 12\
**Last updated:** [April 10, 2009, 12:35am UTC](https://www.ruby-forum.com/t/how-to-dynamically-create-search-term-for-array-find-all/164791 "2009-04-10T00:35:43Z")

</div>

i want to be able to create a mehtod that will filter results in an array. The conditions are known at run time so id like to be able to do it on the fly / dynamically. e.g. user wants to filter results in array so th…

---

## [Review: String#% and File.rename](https://www.ruby-forum.com/t/review-string-and-file-rename/165176)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/review-string-and-file-rename/165176 "2009-04-09T23:21:50Z")

</div>

---

## [Hide "gets" method output, for passwords](https://www.ruby-forum.com/t/hide-gets-method-output-for-passwords/165180)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/hide-gets-method-output-for-passwords/165180 "2009-04-09T23:10:06Z")

</div>

HI All, I’m trying to find a platform independent way of hiding the STDOUT when a password is being entered via the gets method… I was able to hide all output in Linux by using Termios , but as you know this doesn’…

---

## [To run window service using ruby](https://www.ruby-forum.com/t/to-run-window-service-using-ruby/164993)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 6\
**Last updated:** [April 9, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/to-run-window-service-using-ruby/164993 "2009-04-09T22:39:06Z")

</div>

Hi… how to run window service using ruby. i have exe file for making it to run i have to click it on. but i want to make it to run using ruby. Kindly Help me get along with ruby… Thank you

---

## [Http://maik90.gratis-webspace.de/ http://maik30.gratis-webspace.de/ http://maik55.lima-city.de/ htt](https://www.ruby-forum.com/t/http-maik90-gratis-webspace-de-http-maik30-gratis-webspace-de-http-maik55-lima-city-de-htt/165181)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 10:36pm UTC](https://www.ruby-forum.com/t/http-maik90-gratis-webspace-de-http-maik30-gratis-webspace-de-http-maik55-lima-city-de-htt/165181 "2009-04-09T22:36:44Z")

</div>

http://maik90.gratis-webspace.de/ http://maik30.gratis-webspace.de/ http://maik55.lima-city.de/ http://maik44.lima-city.de/ http://maik35.gratis-webspace.de/ http://maik42.gratis-webspace.de/

---

## [Calling a Function Before It's Defined](https://www.ruby-forum.com/t/calling-a-function-before-its-defined/165166)

<div class="topic-metadata">

**Author:** [@markbates](https://www.ruby-forum.com/u/markbates)\
**Replies:** 5\
**Last updated:** [April 9, 2009, 10:26pm UTC](https://www.ruby-forum.com/t/calling-a-function-before-its-defined/165166 "2009-04-09T22:26:10Z")

</div>

I would like to be able to call a function (or a class, when I get more object-oriented) earlier in the program file than where I define it. Such a “top-down” layout seems natural to me. In C I could use a function …

---

## [Ruby and vista](https://www.ruby-forum.com/t/ruby-and-vista/165175)

<div class="topic-metadata">

**Author:** [@daveh0](https://www.ruby-forum.com/u/daveh0)\
**Replies:** 1\
**Last updated:** [April 9, 2009, 9:33pm UTC](https://www.ruby-forum.com/t/ruby-and-vista/165175 "2009-04-09T21:33:18Z")

</div>

i just got a new computer with vista home premium and was wondering if i would have any problems installing ruby? Thanks. Dave P…

---

## [JRuby and nio.ByteBuffer](https://www.ruby-forum.com/t/jruby-and-nio-bytebuffer/165154)

<div class="topic-metadata">

**Author:** [@paulf](https://www.ruby-forum.com/u/paulf)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/jruby-and-nio-bytebuffer/165154 "2009-04-09T19:49:59Z")

</div>

How to handle java.nio.ByteBuffer in JRuby? buffer = ByteBuffer.allocate(1024) buffer.array # gives us a java array but can we end up with a ruby array? “from\_java” technique does not seem to be available. Thanks …

---

## [JRuby on Rails on Google App Engine](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/165008)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 6\
**Last updated:** [April 9, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/165008 "2009-04-09T19:46:28Z")

</div>

Hi friends, As you might have heard, Google has released support for Java on App Engine. I’ve been part of a preview, and know that JRuby, Ruby on Rails and Merb works very well on it. More information here: http:/…

---

## [HTML equivalent to my link\_to\_remote statement](https://www.ruby-forum.com/t/html-equivalent-to-my-link-to-remote-statement/165151)

<div class="topic-metadata">

**Author:** [@hadoob024](https://www.ruby-forum.com/u/hadoob024)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 7:36pm UTC](https://www.ruby-forum.com/t/html-equivalent-to-my-link-to-remote-statement/165151 "2009-04-09T19:36:57Z")

</div>

I have the following link\_to\_remote statement that I need to convert into an tag, but can’t figure it out. I looked at the rubyonrails api page and did a google search, but they don’t have any examples similar to mi…

---

## [Testing builds from svn repo and reporting errors](https://www.ruby-forum.com/t/testing-builds-from-svn-repo-and-reporting-errors/165163)

<div class="topic-metadata">

**Author:** [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/testing-builds-from-svn-repo-and-reporting-errors/165163 "2009-04-09T18:48:24Z")

</div>

Are errors from svn builds reported here or to another list? For example, I’ve run a test from test/ruby/test\_string.rb and got the following errors below. Example:- git --no-pager svn log r23160 | mame | 2009-04-08 …

---

## [Hash questions](https://www.ruby-forum.com/t/hash-questions/165149)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 6\
**Last updated:** [April 9, 2009, 4:58pm UTC](https://www.ruby-forum.com/t/hash-questions/165149 "2009-04-09T16:58:42Z")

</div>

When I run: p {“foo” =\> 1, “bar” =\> 2, “baz” =\> 3 } I get an error. But when I run: x = {“foo” =\> 1, “bar” =\> 2, “baz” =\> 3 } p x There’s no error. What’s the difference between the two? John

---

## [Ruby/sequel/mysql problem](https://www.ruby-forum.com/t/ruby-sequel-mysql-problem/165096)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 1\
**Last updated:** [April 9, 2009, 4:57pm UTC](https://www.ruby-forum.com/t/ruby-sequel-mysql-problem/165096 "2009-04-09T16:57:05Z")

</div>

newbie here. have ruby/sequel/sqlite and windows 2003 server working smooth. but have problem with mysql “gem install mysql” run a basic ruby test script, got error popop “this application has failed to start becaus…

---

## [Ruby Regex](https://www.ruby-forum.com/t/ruby-regex/165153)

<div class="topic-metadata">

**Author:** [@sriram](https://www.ruby-forum.com/u/sriram)\
**Replies:** 2\
**Last updated:** [April 9, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/ruby-regex/165153 "2009-04-09T16:51:40Z")

</div>

Hello, I am working on extracting some data from a file. Sample data in the file are as follows: Case 1: Direction abc,(xyz) Case 2: Direction fet I want to extract the content after Direction but before the com…

---

## [Calendar event](https://www.ruby-forum.com/t/calendar-event/165148)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 1\
**Last updated:** [April 9, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/calendar-event/165148 "2009-04-09T15:52:20Z")

</div>

In my application i use such table(table as follows) in which the Date\_time field by default takes (2001-07-21 11:31:00 UTC)such time format but i want only date, then how i remove the created\_time & updated\_time. Al…

---

## [Array question - How dynamic is dynamic?](https://www.ruby-forum.com/t/array-question-how-dynamic-is-dynamic/164927)

<div class="topic-metadata">

**Author:** [@rubina](https://www.ruby-forum.com/u/rubina)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/array-question-how-dynamic-is-dynamic/164927 "2009-04-09T15:00:40Z")

</div>

Hello all you happy people! I have been thinking about asking this question but did not know how to start. So, if my question is ambiguous please let me know and I will try to make it clearer. Given an NxN array or…

---

## [Ruby WGet](https://www.ruby-forum.com/t/ruby-wget/165130)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 3\
**Last updated:** [April 9, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/ruby-wget/165130 "2009-04-09T14:47:08Z")

</div>

Hi, I would need a ruby “wget version” which works on linux and windows. I would like to feed it an URL to a .tar.bz2 or .zip or .tar.gz file and have it download. That’s what it basically should do. Right now I use …

---

## [Calendar](https://www.ruby-forum.com/t/calendar/165137)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 1:28pm UTC](https://www.ruby-forum.com/t/calendar/165137 "2009-04-09T13:28:56Z")

</div>

I want to show the record in between two dates which i taken form calendar. I use \<%= calendar\_date\_select\_includes “red”# or “blue” or “silver” or nil the default! %\> this code & how i get record in between two da…

---

## [The public face of ruby - propaganda](https://www.ruby-forum.com/t/the-public-face-of-ruby-propaganda/165120)

<div class="topic-metadata">

**Author:** [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Replies:** 1\
**Last updated:** [April 9, 2009, 12:49pm UTC](https://www.ruby-forum.com/t/the-public-face-of-ruby-propaganda/165120 "2009-04-09T12:49:11Z")

</div>

Documents like this \[0\] helps developers and sys admins to get a language and technology adopted in the business place. It’s a doc about their business and how python helps them with thier core stuff. “we like python …

---

## [Hash key : string or symbol!?](https://www.ruby-forum.com/t/hash-key-string-or-symbol/165117)

<div class="topic-metadata">

**Author:** [@abir84](https://www.ruby-forum.com/u/abir84)\
**Replies:** 6\
**Last updated:** [April 9, 2009, 11:47am UTC](https://www.ruby-forum.com/t/hash-key-string-or-symbol/165117 "2009-04-09T11:47:26Z")

</div>

Hello, I had to manipulate a hash (delete pairs, add pairs, ) But my problem is that the data comes sometimes as string and other times as symbol, and this makes problems in updating the hash (sometimes I have an ent…

---

## [Seo Services India, Seo Forum India](https://www.ruby-forum.com/t/seo-services-india-seo-forum-india/165115)

<div class="topic-metadata">

**Author:** [@seokishore89](https://www.ruby-forum.com/u/seokishore89)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 9:40am UTC](https://www.ruby-forum.com/t/seo-services-india-seo-forum-india/165115 "2009-04-09T09:40:40Z")

</div>

Search Engine Optimization (SEO) is a strategy to understand and leverage how search engines like Google and Yahoo! rank results. The goal is for your website to be listed at the top of relevant search results so pros…

---

## [A hopefully simple question](https://www.ruby-forum.com/t/a-hopefully-simple-question/165106)

<div class="topic-metadata">

**Author:** [@chuft](https://www.ruby-forum.com/u/chuft)\
**Replies:** 5\
**Last updated:** [April 9, 2009, 6:46am UTC](https://www.ruby-forum.com/t/a-hopefully-simple-question/165106 "2009-04-09T06:46:33Z")

</div>

Hello, I downloaded an irc bot written in Ruby. I haven’t programmed in many years but couldn’t resist the urge to tinker with the code so I peeked inside. Basically I am trying to add additional string recognition s…

---

## [Kernel.open](https://www.ruby-forum.com/t/kernel-open/165102)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 0\
**Last updated:** [April 9, 2009, 5:31am UTC](https://www.ruby-forum.com/t/kernel-open/165102 "2009-04-09T05:31:37Z")

</div>

Hi, This snippet seems to be a bug in IronRuby. file = Kernel.open(“test.bin”, “wb”, 0444) Error: wrong number of arguments (5 for 3) (ArgumentError) which due to KernelOps.cs - open method doesn’t have overload to …

---

## [Hash$B$N%G%U%)%k%HCM$N%V%m%C%/$GL58B%k!\<%W$9$k$H(Bcore](https://www.ruby-forum.com/t/hash-b-n-g-u-k-hcm-n-v-m-c-gl58b-k-w-9-k-h-bcore/164542)

<div class="topic-metadata">

**Author:** [@KISHIMOTOS\_Makoto](https://www.ruby-forum.com/u/KISHIMOTOS_Makoto)\
**Replies:** 5\
**Last updated:** [April 9, 2009, 4:29am UTC](https://www.ruby-forum.com/t/hash-b-n-g-u-k-hcm-n-v-m-c-gl58b-k-w-9-k-h-bcore/164542 "2009-04-09T04:29:39Z")

</div>

e$B$-$7$b$H$G$9e(B trunke$B$G0J2\<$N$h$&$J!“L58B$K:F5”$9$k%9%/%j%W%H$r\<B9T$9$k$H!"e(B SystemStackErrore$B$K$J$i$:$Ke(Bcoree$B$rEG$-$^$9!#e(B Foo = Hash.new{|h, k| bar} def bar Foo\[‘key’\] end bar

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

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