# Ruby

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

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

---

## [Help test new ruby mail lib](https://www.ruby-forum.com/t/help-test-new-ruby-mail-lib/146548)

<div class="topic-metadata">

**Author:** [@marcin\_r](https://www.ruby-forum.com/u/marcin_r)\
**Replies:** 0\
**Last updated:** [August 22, 2008, 8:25am UTC](https://www.ruby-forum.com/t/help-test-new-ruby-mail-lib/146548 "2008-08-22T08:25:46Z")

</div>

Hello. I’m creating new ruby mail handling library that’s actualy OO (Net::IMAP IMHO isn’t). It’ll be Open Source under LGPL Anyway i want it tested under battle conditions so … if you have obscure mail server, or ma…

---

## [String](https://www.ruby-forum.com/t/string/146544)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 1\
**Last updated:** [August 22, 2008, 8:00am UTC](https://www.ruby-forum.com/t/string/146544 "2008-08-22T08:00:35Z")

</div>

src\_array = imgs.collect{|img| img.attributes\[“src”\]} can you people explain this code =\> imgs.collect{|img| img.attributes\[“src”\]}

---

## [Alternatives to class variables](https://www.ruby-forum.com/t/alternatives-to-class-variables/146415)

<div class="topic-metadata">

**Author:** [@samhendley](https://www.ruby-forum.com/u/samhendley)\
**Replies:** 3\
**Last updated:** [August 22, 2008, 7:17am UTC](https://www.ruby-forum.com/t/alternatives-to-class-variables/146415 "2008-08-22T07:17:18Z")

</div>

Hello, this is my first post to this list and I have only been using ruby for a couple of weeks so forgive me if its overly simple, I spent a few hours searching and wasn’t able to figure this out myself. What I am tr…

---

## [Pagination for join table data](https://www.ruby-forum.com/t/pagination-for-join-table-data/146543)

<div class="topic-metadata">

**Author:** [@ganeshk](https://www.ruby-forum.com/u/ganeshk)\
**Replies:** 0\
**Last updated:** [August 22, 2008, 6:32am UTC](https://www.ruby-forum.com/t/pagination-for-join-table-data/146543 "2008-08-22T06:32:28Z")

</div>

Hi, I have two tables one is departments and subjects both table having many to many relationship @department = Department.fin(params\[:id\] @department.subjects will give all the subjects under that department but i …

---

## [Regexp help](https://www.ruby-forum.com/t/regexp-help/146465)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 6\
**Last updated:** [August 22, 2008, 6:12am UTC](https://www.ruby-forum.com/t/regexp-help/146465 "2008-08-22T06:12:17Z")

</div>

I Need to Extract Img tag Using Regular Expressions From The Html Page \<\\simg \[^\>\]src\\s=\\s(\["’\])(.\*?)\\1 Is This Code Would be ok Can Any One Say Me Some Other regexp For Img Tag Extracing?

---

## [Restarts 1.0.2 Released](https://www.ruby-forum.com/t/restarts-1-0-2-released/146526)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 22, 2008, 6:02am UTC](https://www.ruby-forum.com/t/restarts-1-0-2-released/146526 "2008-08-22T06:02:26Z")

</div>

restarts version 1.0.2 has been released! latest install via: gem install restarts latest code is available at GitHub - archit/restarts: restarts functionality for exceptions in ruby latest documentation is available…

---

## [How to sort this hash?](https://www.ruby-forum.com/t/how-to-sort-this-hash/51020)

<div class="topic-metadata">

**Author:** [@d0t1q](https://www.ruby-forum.com/u/d0t1q)\
**Replies:** 10\
**Last updated:** [August 22, 2008, 4:43am UTC](https://www.ruby-forum.com/t/how-to-sort-this-hash/51020 "2008-08-22T04:43:28Z")

</div>

Is it possible to sort the jobs hash below based on values such as command, start\_time and stop\_time? Ideally, sort\_by would be dynamically provided and I would output the jobs entries based on the value defined for s…

---

## [Hahses and sort](https://www.ruby-forum.com/t/hahses-and-sort/146483)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 5\
**Last updated:** [August 22, 2008, 4:41am UTC](https://www.ruby-forum.com/t/hahses-and-sort/146483 "2008-08-22T04:41:30Z")

</div>

i have a hash whose values are hashes themselves like this stats\_hash = { “fourth”=\> {:total\_completed=\>1, :total\_sold=\>1, :str=\>0.0}, “third”=\> {:total\_completed=\>1, :total\_sold=\>0, :str=\>25.0}, “second”=\>{:total\_c…

---

## [FYI Code Review: ObsoleteAPI](https://www.ruby-forum.com/t/fyi-code-review-obsoleteapi/146533)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 0\
**Last updated:** [August 22, 2008, 3:32am UTC](https://www.ruby-forum.com/t/fyi-code-review-obsoleteapi/146533 "2008-08-22T03:32:40Z")

</div>

tfpt review “/shelveset:ObsoleteAPI;REDMOND\\tomat” Removes calls to obsolete DLR API. Tomas

---

## [Stop ruby service](https://www.ruby-forum.com/t/stop-ruby-service/146506)

<div class="topic-metadata">

**Author:** [@msh\_maryam](https://www.ruby-forum.com/u/msh_maryam)\
**Replies:** 6\
**Last updated:** [August 21, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/stop-ruby-service/146506 "2008-08-21T23:08:48Z")

</div>

I want to stop ruby service on my linux server. I kill all mongrel\_rail process. but still when i use top command ruby run in my servers. How can i stop ruby server on my server with out uninstall it? Thanks

---

## [What does :: mean at the beginning?](https://www.ruby-forum.com/t/what-does-mean-at-the-beginning/146521)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [August 21, 2008, 10:58pm UTC](https://www.ruby-forum.com/t/what-does-mean-at-the-beginning/146521 "2008-08-21T22:58:51Z")

</div>

Hi, looking at a Ruby code I’ve found this: repo = ::Logging::Repository.instance What does the first :: mean? Thanks.

---

## [Download britney spears videos http://gpirate.com/search?hl=en&q=britney+spears](https://www.ruby-forum.com/t/download-britney-spears-videos-http-gpirate-com-search-hl-en-q-britney-spears/146519)

<div class="topic-metadata">

**Author:** [@olympics](https://www.ruby-forum.com/u/olympics)\
**Replies:** 0\
**Last updated:** [August 21, 2008, 10:34pm UTC](https://www.ruby-forum.com/t/download-britney-spears-videos-http-gpirate-com-search-hl-en-q-britney-spears/146519 "2008-08-21T22:34:13Z")

</div>

download britney spears videos http://gpirate.com/search?hl=en&q=britney+spears

---

## [Ditz 0.5 distributed issue tracker released](https://www.ruby-forum.com/t/ditz-0-5-distributed-issue-tracker-released/146518)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 0\
**Last updated:** [August 21, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/ditz-0-5-distributed-issue-tracker-released/146518 "2008-08-21T22:32:28Z")

</div>

Ditz version 0.5 has been released! This release features two new plugins and a host of bugfixes and enhancements. Just ‘gem install ditz’, or visit http://ditz.rubyforge.org. Ditz is a simple, light-weight distribut…

---

## [Lower verbosity in IRB?](https://www.ruby-forum.com/t/lower-verbosity-in-irb/146501)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 9\
**Last updated:** [August 21, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/lower-verbosity-in-irb/146501 "2008-08-21T20:26:57Z")

</div>

OK, this is probably a very basic question, but how do ou go about lowering the verbosity of irb? For instance, if you wanted to read in a decent sized log file to scan it for anomalies, you may do something like this…

---

## [Ruby GC](https://www.ruby-forum.com/t/ruby-gc/129371)

<div class="topic-metadata">

**Author:** [@Pie\_Squared](https://www.ruby-forum.com/u/Pie_Squared)\
**Replies:** 10\
**Last updated:** [August 21, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/ruby-gc/129371 "2008-08-21T20:26:05Z")

</div>

I’ve been trying to look at how dynamic languages do memory management mostly Ruby and Python - because I’ve been trying to implement a GC of my own. The main problem that I’m interested in is how the GC deals with …

---

## [convertJavaToUsableRubyObject throws AssertionError](https://www.ruby-forum.com/t/convertjavatousablerubyobject-throws-assertionerror/146392)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 9\
**Last updated:** [August 21, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/convertjavatousablerubyobject-throws-assertionerror/146392 "2008-08-21T20:21:04Z")

</div>

I’m calling JavaUtil.convertJavaToUsableRubyObject but an AssertionError is thrown at at org.jruby.javasupport.JavaClass.setupProxy(JavaClass.java:679). That line reads “assert this.proxyClass == null;”. A simple tes…

---

## [Possible simple marshall error](https://www.ruby-forum.com/t/possible-simple-marshall-error/146490)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 9\
**Last updated:** [August 21, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/possible-simple-marshall-error/146490 "2008-08-21T18:41:26Z")

</div>

I recently tried to learn to use Marshal with a simple script , but I keep getting the following exception : x.rb:6:in \`load’: marshal data too short (ArgumentError) This is the script : hsh = {:first =\> \[1,2,3\],:sec…

---

## [Copy a folder and its contents](https://www.ruby-forum.com/t/copy-a-folder-and-its-contents/146487)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 5\
**Last updated:** [August 21, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/copy-a-folder-and-its-contents/146487 "2008-08-21T18:40:16Z")

</div>

Hi, I am looking at copying a folder and its contents from one destination to another. FileUtils.copy(“C:/rspec\_reports/javascripts”, “C:/rspec\_reports/ javascripts/test”) However, it seems FileUtils.copy is just fo…

---

## [Best way to connect to ftp server through proxy?](https://www.ruby-forum.com/t/best-way-to-connect-to-ftp-server-through-proxy/146422)

<div class="topic-metadata">

**Author:** [@Shane\_Witbeck](https://www.ruby-forum.com/u/Shane_Witbeck)\
**Replies:** 1\
**Last updated:** [August 21, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/best-way-to-connect-to-ftp-server-through-proxy/146422 "2008-08-21T16:59:25Z")

</div>

The only docs I found on this is using a SOCKS proxy. What’s the best way to connect to an FTP server through a non-SOCKS proxy? -Shane

---

## [Find all subclasses of a class/module](https://www.ruby-forum.com/t/find-all-subclasses-of-a-class-module/146482)

<div class="topic-metadata">

**Author:** [@james-calivar](https://www.ruby-forum.com/u/james-calivar)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/find-all-subclasses-of-a-class-module/146482 "2008-08-21T16:54:44Z")

</div>

Hi list, I’m trying to find all the classes/modules that descend from a particular class/module. Please tell me there’s a better way than this:

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/146488)

<div class="topic-metadata">

**Author:** [@mayesa](https://www.ruby-forum.com/u/mayesa)\
**Replies:** 0\
**Last updated:** [August 21, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/no-subject/146488 "2008-08-21T16:51:13Z")

</div>

unsubscribe Yahoo! Cocina Recetas prácticas y comida saludable http://ar.mujer.yahoo.com/cocina/

---

## [Ruby/SerialPort Library is slow/delay/portions on Windows](https://www.ruby-forum.com/t/ruby-serialport-library-is-slow-delay-portions-on-windows/146363)

<div class="topic-metadata">

**Author:** [@alcost](https://www.ruby-forum.com/u/alcost)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/ruby-serialport-library-is-slow-delay-portions-on-windows/146363 "2008-08-21T16:18:06Z")

</div>

Hi I was doing serial port reading software with Ruby and Ruby/SerialPort Library on Windows. I noticed that port reading works but with delays or jitter when data from serial port comes, reading works in portions. In …

---

## [Ruby/DL: How to create and use a buffer?](https://www.ruby-forum.com/t/ruby-dl-how-to-create-and-use-a-buffer/146441)

<div class="topic-metadata">

**Author:** [@Charles\_Turner](https://www.ruby-forum.com/u/Charles_Turner)\
**Replies:** 1\
**Last updated:** [August 21, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/ruby-dl-how-to-create-and-use-a-buffer/146441 "2008-08-21T16:08:54Z")

</div>

Hi all- I’m trying to hookup Erik de Castro Lopo’s libsndfile with Ruby via Ruby/DL: my first encounter with it. I’ve had some success with DL, but am stuck at creating a multibyte buffer that can be passed by referen…

---

## [Does ruby have source filters?](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 4\
**Last updated:** [August 21, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474 "2008-08-21T16:08:14Z")

</div>

I come from a perl background , and in perl there was a module called Filter::Simple , which made possible writing code in latin ( by transforming the code you wrote before it reached the interpreter ) , or whatever s…

---

## [RDTool Status](https://www.ruby-forum.com/t/rdtool-status/146481)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 0\
**Last updated:** [August 21, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/rdtool-status/146481 "2008-08-21T15:53:03Z")

</div>

Is anyone using rdtool? Is anyone actively maintianing it? I tried to contact Kenjiro Arai, but no dice. T.

---

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

<div class="topic-metadata">

**Author:** [@backz](https://www.ruby-forum.com/u/backz)\
**Replies:** 3\
**Last updated:** [August 21, 2008, 3:47pm UTC](https://www.ruby-forum.com/t/help/146432 "2008-08-21T15:47:44Z")

</div>

okay, so in the book im reading it wanted me to do 2 things wanted me to make a method for sorting a list of words this is what i got now def arange arr = \[\] puts arr.sort.join(’, ') word = gets.chomp while word…

---

## [Class \<\< Array vs. Array.class](https://www.ruby-forum.com/t/class-array-vs-array-class/146473)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 3\
**Last updated:** [August 21, 2008, 3:38pm UTC](https://www.ruby-forum.com/t/class-array-vs-array-class/146473 "2008-08-21T15:38:57Z")

</div>

Hello, i just wondered where the difference between the following code parts is? ---- code ---- class \<\< Array p self.inspect define\_method :foo do p “inside foo” end end Array.class.module\_eval do p self.insp…

---

## [\[Ruby 1.9 - Bug #163\] (Open) Thread.priority= is effectively a no-op](https://www.ruby-forum.com/t/ruby-1-9-bug-163-open-thread-priority-is-effectively-a-no-op/140550)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 2\
**Last updated:** [August 21, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-163-open-thread-priority-is-effectively-a-no-op/140550 "2008-08-21T14:50:14Z")

</div>

e$B%A%1%C%He(B #163 e$B$,Js9p$5$l$^$7$?!#e(B (by Dave T.) Bug #163: Thread.priority= is effectively a no-op http://redmine.ruby-lang.org/issues/show/163 e$B5/I\<\<Te(B: Dave T. e$B%9%F!\<%?%9e(B: Open e$BM%@hEYe(B: No…

---

## [Rss feeds](https://www.ruby-forum.com/t/rss-feeds/226023)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 1\
**Last updated:** [August 21, 2008, 2:11pm UTC](https://www.ruby-forum.com/t/rss-feeds/226023 "2008-08-21T14:11:31Z")

</div>

Using Rss Parser I loaded Some Url’s into the database. All The Rss feeds has been stored in the table. All The Rss Stories Has Been Stored In the Stories Table. Stories Table Has Fields Like Story Name Story Descript…

---

## [Rack 0.4, a modular Ruby webserver interface](https://www.ruby-forum.com/t/rack-0-4-a-modular-ruby-webserver-interface/146470)

<div class="topic-metadata">

**Author:** [@cneuhaus](https://www.ruby-forum.com/u/cneuhaus)\
**Replies:** 0\
**Last updated:** [August 21, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/rack-0-4-a-modular-ruby-webserver-interface/146470 "2008-08-21T13:15:52Z")

</div>

Hello, Today I’m proud to release Rack 0.4. = Rack, a modular Ruby webserver interface Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and …

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

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