# Ruby

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

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

---

## [ParseTree 1.7.1 Released](https://www.ruby-forum.com/t/parsetree-1-7-1-released/106069)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [June 6, 2007, 4:39am UTC](https://www.ruby-forum.com/t/parsetree-1-7-1-released/106069 "2007-06-06T04:39:54Z")

</div>

ParseTree version 1.7.1 has been released! http://www.zenspider.com/ZSS/Products/ParseTree/ ParseTree is a C extension (using RubyInline) that extracts the parse tree for an entire class or a specific method and retu…

---

## [Ar\_mailer 1.2.0 Released](https://www.ruby-forum.com/t/ar-mailer-1-2-0-released/147368)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [June 6, 2007, 12:26am UTC](https://www.ruby-forum.com/t/ar-mailer-1-2-0-released/147368 "2007-06-06T00:26:24Z")

</div>

ar\_mailer version 1.2.0 has been released! http://seattlerb.org/ar\_mailer Even delivering email to the local machine may take too long when you have to send hundreds of messages. ar\_mailer allows you to store messa…

---

## [Prototype-2.0.0](https://www.ruby-forum.com/t/prototype-2-0-0/105975)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 8\
**Last updated:** [June 5, 2007, 11:56pm UTC](https://www.ruby-forum.com/t/prototype-2-0-0/105975 "2007-06-05T23:56:22Z")

</div>

NAME prototype.rb INSTALL gem install prototype URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/ SYNOPSIS prototype.rb facilitates a prototype based coding style http://en.wi…

---

## [Problems with IO.popen in ruby 1.8.2?](https://www.ruby-forum.com/t/problems-with-io-popen-in-ruby-1-8-2/106036)

<div class="topic-metadata">

**Author:** [@Todd\_ASJacobs](https://www.ruby-forum.com/u/Todd_ASJacobs)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/problems-with-io-popen-in-ruby-1-8-2/106036 "2007-06-05T22:06:02Z")

</div>

I have the following code snippet: sleep 0.3 IO.popen('/usr/bin/xclip -o').readlines {|f| print} running in a tight loop. If I let it run for a short time (about 25 seconds), I get this error: Enter URL: ./dice.rb:89…

---

## [Ruby Newbie question about app making](https://www.ruby-forum.com/t/ruby-newbie-question-about-app-making/106035)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/ruby-newbie-question-about-app-making/106035 "2007-06-05T21:21:54Z")

</div>

I have been enjoying the Ruby language for a little bit now and even tried to answer a question on this forum. :slight\_smile: Still, I have a question about Ruby development. I have been hearing that most anything p…

---

## [\[ANN\] Rassmalog 5.0.1](https://www.ruby-forum.com/t/ann-rassmalog-5-0-1/106034)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/ann-rassmalog-5-0-1/106034 "2007-06-05T21:02:47Z")

</div>

Rassmalog is a static blog engine based on YAML, eRuby, and Rake. It transforms blog entries written in Textile or other formatting systems into valid XHTML files that are user friendly in both graphical and text-only…

---

## [DBI question - DBD-ADO query is timing out](https://www.ruby-forum.com/t/dbi-question-dbd-ado-query-is-timing-out/106024)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/dbi-question-dbd-ado-query-is-timing-out/106024 "2007-06-05T20:48:35Z")

</div>

Hey guys, I have a tiny DBI question. I’m using DBD-ADO to talk to sqlserver and have a query that’s timing out. Does anyone know how I might extend the timeout? donald

---

## [Return in Fiber dumps core](https://www.ruby-forum.com/t/return-in-fiber-dumps-core/105914)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/return-in-fiber-dumps-core/105914 "2007-06-05T19:49:25Z")

</div>

e$B$3$s$P$s$O!"e(B sheepman e$B$G$9!#e(B Fiber e$B$N%V%m%C%/$NCf$Ge(B return e$B$r8F$V$He(B segv e$B$7$^$9!#e(B $ cat f2.rb Fiber.new do return end.yield $ ruby-1.9 -v f2.rb ruby 1.9.0 (2007-06-04 patchlevel 0) \[i…

---

## [June Phoenix Ruby Users Group Meeting](https://www.ruby-forum.com/t/june-phoenix-ruby-users-group-meeting/106023)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/june-phoenix-ruby-users-group-meeting/106023 "2007-06-05T19:24:23Z")

</div>

What: The June meeting of the Phoenix Ruby U. Group When: Monday June 11, 2007, at 6:30pm Where: Offices of MWA Intelligence See http://www.rubyaz.org/groups/prug/ for details, including maps and directions Topic: …

---

## [Deep Copy](https://www.ruby-forum.com/t/deep-copy/106010)

<div class="topic-metadata">

**Author:** [@mjand](https://www.ruby-forum.com/u/mjand)\
**Replies:** 5\
**Last updated:** [June 5, 2007, 5:51pm UTC](https://www.ruby-forum.com/t/deep-copy/106010 "2007-06-05T17:51:17Z")

</div>

I’m needing to implement a deep copy operation on a couple of objects, and was wondering if there was a “best practices” for this sort of thing. I’ve seen the Marshal.load(Marshal.dump()) idiom, but I’m using singlet…

---

## [Who's maintaining log4r?](https://www.ruby-forum.com/t/whos-maintaining-log4r/80040)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 35\
**Last updated:** [June 5, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/whos-maintaining-log4r/80040 "2007-06-05T17:31:52Z")

</div>

Does anyone know who’s maintaining the log4r project? The website at Sourceforge says Leon T., but his email’s bouncing. The reason I ask: I have recently begun looking into log4r and would like to suggest some minor…

---

## [\[ANN\] London Ruby User Group - 11th June 2007](https://www.ruby-forum.com/t/ann-london-ruby-user-group-11th-june-2007/106013)

<div class="topic-metadata">

**Author:** [@Murray\_S](https://www.ruby-forum.com/u/Murray_S)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/ann-london-ruby-user-group-11th-june-2007/106013 "2007-06-05T17:05:46Z")

</div>

Hi all, The next meeting of the London Ruby U. Group is advancing menacingly towards us: Date: June 11th Time: 6:30pm onwards Location: the Skills Matter offices at 1 Sekeford Street, EC1R 0BEL\[1\] Closest tube: Far…

---

## [Writing method "change!" for String](https://www.ruby-forum.com/t/writing-method-change-for-string/105998)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 10\
**Last updated:** [June 5, 2007, 3:17pm UTC](https://www.ruby-forum.com/t/writing-method-change-for-string/105998 "2007-06-05T15:17:14Z")

</div>

Hi, I’m trying to write simple method to change internal value of String class: class String def change! self=“0” if self.downcase==“myvalue1” self=“1” if self.downcase==“myvalue2” self end end test=“myvalue1” …

---

## [Using ADO to connect to an Access database in Ruby](https://www.ruby-forum.com/t/using-ado-to-connect-to-an-access-database-in-ruby/105929)

<div class="topic-metadata">

**Author:** [@arobbo](https://www.ruby-forum.com/u/arobbo)\
**Replies:** 7\
**Last updated:** [June 5, 2007, 2:41pm UTC](https://www.ruby-forum.com/t/using-ado-to-connect-to-an-access-database-in-ruby/105929 "2007-06-05T14:41:01Z")

</div>

Hi guys I’m trying to get Alexa web stats on 1,000 firms websites. I have the website addresses etc in an MS Access database. I’ve used the example Ruby code from Alexa Web Information Service to get web stats manua…

---

## [Process::GID.change\_privilege not changing groups properly?](https://www.ruby-forum.com/t/process-gid-change-privilege-not-changing-groups-properly/105834)

<div class="topic-metadata">

**Author:** [@uberkorp](https://www.ruby-forum.com/u/uberkorp)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/process-gid-change-privilege-not-changing-groups-properly/105834 "2007-06-05T14:30:26Z")

</div>

Hello. I am trying to use Process::GID.change\_privilege to get a root process to assume the full group permissions of a specified user. However, it seems that the process does not assume the proper group permissions o…

---

## [Net/FTP: failed download creates empty file](https://www.ruby-forum.com/t/net-ftp-failed-download-creates-empty-file/105996)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/net-ftp-failed-download-creates-empty-file/105996 "2007-06-05T14:01:52Z")

</div>

I’m downloading a file via FTP like this: require ‘net/ftp’ ftp=Net::FTP.new(hostname,userid,password) begin ftp.getbinaryfile(‘fluffi’) rescue Net::FTPPermError puts “download #{filename} failed (#{$!.to\_s.chomp})…

---

## [Add namespace to the SOAP Body and Header](https://www.ruby-forum.com/t/add-namespace-to-the-soap-body-and-header/105884)

<div class="topic-metadata">

**Author:** [@David\_Alphen](https://www.ruby-forum.com/u/David_Alphen)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/add-namespace-to-the-soap-body-and-header/105884 "2007-06-05T13:58:52Z")

</div>

Hi, I’m trying to add a namespace to the SOAP Body and Header. I send the request: \<?xml version="1.0" encoding="utf-8" ?\> \<env:Envelope xmlns:xsd=“http://www.w3.org/2001/XMLSchema” xmlns:env=“http://schemas.xmlsoap.…

---

## [URI class bug?](https://www.ruby-forum.com/t/uri-class-bug/105980)

<div class="topic-metadata">

**Author:** [@mog](https://www.ruby-forum.com/u/mog)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/uri-class-bug/105980 "2007-06-05T13:14:47Z")

</div>

I am using Ruby 1.8.6. I found URI cannot parse URI with “\_” is host. uri = “http://dr\_gabriele.podomatic.com/enclosure/ 2006-08-03T15\_09\_59-07\_00.m4v” URI.parse(uri) Is there any way to work around that? thanks

---

## [How add "Not-match" logic into Enumerable.grep?](https://www.ruby-forum.com/t/how-add-not-match-logic-into-enumerable-grep/105992)

<div class="topic-metadata">

**Author:** [@mog](https://www.ruby-forum.com/u/mog)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 1:10pm UTC](https://www.ruby-forum.com/t/how-add-not-match-logic-into-enumerable-grep/105992 "2007-06-05T13:10:46Z")

</div>

Say, I want to get all files in one folder. Since Dir.entries will have “.” and “…” included. I want to strip them out with “grep”. I tried to write in such a way as I can did similarly in Perl: log\_files = Dir.entrie…

---

## [Image\_science 1.1.3 Released](https://www.ruby-forum.com/t/image-science-1-1-3-released/105544)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 11\
**Last updated:** [June 5, 2007, 12:45pm UTC](https://www.ruby-forum.com/t/image-science-1-1-3-released/105544 "2007-06-05T12:45:02Z")

</div>

image\_science version 1.1.3 has been released! http://seattlerb.rubyforge.org/ImageScience.html ImageScience is a clean and happy Ruby library that generates thumbnails – and kicks the living crap out of RMagick. Oh,…

---

## [Saket sidana wants to chat](https://www.ruby-forum.com/t/saket-sidana-wants-to-chat/105990)

<div class="topic-metadata">

**Author:** [@saket\_sidana](https://www.ruby-forum.com/u/saket_sidana)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 12:01pm UTC](https://www.ruby-forum.com/t/saket-sidana-wants-to-chat/105990 "2007-06-05T12:01:02Z")

</div>

saket sidana wants to stay in better touch using some of Google’s coolest new products. If you already have Gmail or Google Talk, visit: You’ll need to click this link to be able to chat with saket sidana. To get …

---

## [How to retry a disrupted Net::HTTP download?](https://www.ruby-forum.com/t/how-to-retry-a-disrupted-net-http-download/105893)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [June 5, 2007, 11:39am UTC](https://www.ruby-forum.com/t/how-to-retry-a-disrupted-net-http-download/105893 "2007-06-05T11:39:49Z")

</div>

Hi, I’m trying to download a file with Ruby from a website. Everything works fine, but I can’t get Ruby to retry the download when for example the internet connection breaks during the download. Here’s my code so far…

---

## [Problem with open-uri](https://www.ruby-forum.com/t/problem-with-open-uri/105854)

<div class="topic-metadata">

**Author:** [@ngng](https://www.ruby-forum.com/u/ngng)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 10:36am UTC](https://www.ruby-forum.com/t/problem-with-open-uri/105854 "2007-06-05T10:36:07Z")

</div>

Hello, I'm trying to use open-uri on yahoo mail's login page. If I do the following: #!/usr/bin/env ruby require ‘open-uri’ require ‘uri’ f = open(“http://mail.yahoo.com”) I get the following error: /usr/lib/ru…

---

## [Deleting a file - is there a less clumsy way to do this?](https://www.ruby-forum.com/t/deleting-a-file-is-there-a-less-clumsy-way-to-do-this/105907)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 12\
**Last updated:** [June 5, 2007, 9:56am UTC](https://www.ruby-forum.com/t/deleting-a-file-is-there-a-less-clumsy-way-to-do-this/105907 "2007-06-05T09:56:35Z")

</div>

In my application, I often have blocks of code, where during preparation code, I need to make sure that certain files do not exist (in practice, this might be files left over from a previous run, which I didn’t want t…

---

## [Building C++ with Rake](https://www.ruby-forum.com/t/building-c-with-rake/105860)

<div class="topic-metadata">

**Author:** [@magnus\_falk](https://www.ruby-forum.com/u/magnus_falk)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 9:42am UTC](https://www.ruby-forum.com/t/building-c-with-rake/105860 "2007-06-05T09:42:33Z")

</div>

I’m familiarizing myself with Rake (and learning a spot of Ruby while doing it) by making a build environment for a C++ project I’m doing. I’ve run into a few issues though… First off; here’s the code I have so far: r…

---

## [Ruby problem with conditional ranges](https://www.ruby-forum.com/t/ruby-problem-with-conditional-ranges/105879)

<div class="topic-metadata">

**Author:** [@Todd\_ASJacobs](https://www.ruby-forum.com/u/Todd_ASJacobs)\
**Replies:** 6\
**Last updated:** [June 5, 2007, 9:36am UTC](https://www.ruby-forum.com/t/ruby-problem-with-conditional-ranges/105879 "2007-06-05T09:36:33Z")

</div>

I’m running into a problem doing a conditional range in ruby. The sample code is: #!/usr/bin/ruby ## one ## two ## three ## four ## five File.open($0, 'r') { |f| while f.gets print $\_.sub(/^##/, ‘’) if /^## two/ … …

---

## [Newbie... help with permissions](https://www.ruby-forum.com/t/newbie-help-with-permissions/105979)

<div class="topic-metadata">

**Author:** [@micahphone](https://www.ruby-forum.com/u/micahphone)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 8:38am UTC](https://www.ruby-forum.com/t/newbie-help-with-permissions/105979 "2007-06-05T08:38:27Z")

</div>

Hey ya’ll. I’m brand new to Ruby. Just a few hours into “Programming Ruby” in fact. I’m loving ruby so far. I can’t wait to get into some GTK+ with ruby (since I do a lot of GTK+ stuff in C). I work best by solving re…

---

## [Another beginner question](https://www.ruby-forum.com/t/another-beginner-question/105978)

<div class="topic-metadata">

**Author:** [@micahphone](https://www.ruby-forum.com/u/micahphone)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 8:37am UTC](https://www.ruby-forum.com/t/another-beginner-question/105978 "2007-06-05T08:37:27Z")

</div>

Sorry if my “newbie” questions are excessive. I promise that if/when I start getting on my feet with Ruby programming I will contribute back to the learning process 10-fold. That’s how I role. Simple question: I was …

---

## [Attributes-3.3.0](https://www.ruby-forum.com/t/attributes-3-3-0/105976)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 0\
**Last updated:** [June 5, 2007, 5:31am UTC](https://www.ruby-forum.com/t/attributes-3-3-0/105976 "2007-06-05T05:31:54Z")

</div>

NAME attributes.rb INSTALL gem install attributes URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby SYNOPSIS attributes.rb provides a set of attr\_\* like method with several user …

---

## [Sequel: Cannot save model or limit varchars](https://www.ruby-forum.com/t/sequel-cannot-save-model-or-limit-varchars/105963)

<div class="topic-metadata">

**Author:** [@Florian\_ASSSSmann](https://www.ruby-forum.com/u/Florian_ASSSSmann)\
**Replies:** 2\
**Last updated:** [June 5, 2007, 4:32am UTC](https://www.ruby-forum.com/t/sequel-cannot-save-model-or-limit-varchars/105963 "2007-06-05T04:32:37Z")

</div>

Hi out there, I experienced Problems when I tried to save a Sequel::Model ERROR database: ERROR: currval of sequence “schedules\_id\_seq” is not yet defined in this session The model schema is: set\_schema do serial …

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

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