# Ruby

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

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

---

## [Hoe 1.1.6 Released](https://www.ruby-forum.com/t/hoe-1-1-6-released/77724)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [November 30, 2006, 12:09am UTC](https://www.ruby-forum.com/t/hoe-1-1-6-released/77724 "2006-11-30T00:09:42Z")

</div>

hoe version 1.1.6 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It g…

---

## [One field maintaining (boolean) state of multiple items](https://www.ruby-forum.com/t/one-field-maintaining-boolean-state-of-multiple-items/77693)

<div class="topic-metadata">

**Author:** [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/one-field-maintaining-boolean-state-of-multiple-items/77693 "2006-11-29T23:53:37Z")

</div>

I have a friend who posed a question to me about how to maintain the state of a few boolean values (radio buttons to be specific) in one (integer) database column. It really is more of a curious question than anythin…

---

## [\`attr\_accessor\` and predicate/question mark methods](https://www.ruby-forum.com/t/attr-accessor-and-predicate-question-mark-methods/77655)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 5\
**Last updated:** [November 29, 2006, 11:11pm UTC](https://www.ruby-forum.com/t/attr-accessor-and-predicate-question-mark-methods/77655 "2006-11-29T23:11:21Z")

</div>

Hi, I just stumbled across this weird behaviour and I’m puzzled that I’ve not noticed it before. If I use attr\_accessor to define a predicate method, i.e. one ending in a question mark, the following happens: class T…

---

## [PGConn - qutie a trivial question from a newb](https://www.ruby-forum.com/t/pgconn-qutie-a-trivial-question-from-a-newb/77656)

<div class="topic-metadata">

**Author:** [@nicken](https://www.ruby-forum.com/u/nicken)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 10:55pm UTC](https://www.ruby-forum.com/t/pgconn-qutie-a-trivial-question-from-a-newb/77656 "2006-11-29T22:55:14Z")

</div>

Hello, I have this code: 28 dbh = get\_connection 29 res = dbh.exec("select max(ogc\_fid) from #{table};") 30 max = res\[0\] 31 32 puts max Which successfully prints the SQL query to the terminal. I want to be …

---

## [Samizdat 0.6.0 is released](https://www.ruby-forum.com/t/samizdat-0-6-0-is-released/77712)

<div class="topic-metadata">

**Author:** [@kmeaw](https://www.ruby-forum.com/u/kmeaw)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 9:30pm UTC](https://www.ruby-forum.com/t/samizdat-0-6-0-is-released/77712 "2006-11-29T21:30:58Z")

</div>

What is Samizdat? Samizdat is a generic RDF-based engine for building collaboration and open publishing web sites. Samizdat provides users with means to cooperate and coordinate on all kinds of activities, including m…

---

## [How to move from a Desktop / Development environment to 24/7](https://www.ruby-forum.com/t/how-to-move-from-a-desktop-development-environment-to-24-7/77674)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 9:06pm UTC](https://www.ruby-forum.com/t/how-to-move-from-a-desktop-development-environment-to-24-7/77674 "2006-11-29T21:06:52Z")

</div>

Folks, Like many of you in the list I’ve been learning Ruby and trying it for a while now, especially the Rails framework. I wonder however what tools are there to move whatever I develop on my Mac (or PC) running Ru…

---

## [Ruby on Rails Developer in SFO](https://www.ruby-forum.com/t/ruby-on-rails-developer-in-sfo/77687)

<div class="topic-metadata">

**Author:** [@binistar](https://www.ruby-forum.com/u/binistar)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-in-sfo/77687 "2006-11-29T20:54:49Z")

</div>

Hi I have seen your resume on Dice. We have an opening with our client for a Ruby on Rails Developer (Full Time position) in San Francisco. Salary depends on relevant skills and experience and for a senior developer …

---

## [Can Logger log simultaneously to a file and STDOUT?](https://www.ruby-forum.com/t/can-logger-log-simultaneously-to-a-file-and-stdout/77685)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 8:14pm UTC](https://www.ruby-forum.com/t/can-logger-log-simultaneously-to-a-file-and-stdout/77685 "2006-11-29T20:14:43Z")

</div>

Can I have a Logger instance that logs both to a file and to STDOUT. Cheers, V.-

---

## [Gem question: "win32" vs. "ruby"](https://www.ruby-forum.com/t/gem-question-win32-vs-ruby/77621)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/gem-question-win32-vs-ruby/77621 "2006-11-29T20:02:40Z")

</div>

Often when I install a new gem, or try to update a gem I already have, I’ll be presented with a list of choices for which version I want to install. And often I see two entries with the same version number, but one wi…

---

## [Hoe 1.1.5 Released](https://www.ruby-forum.com/t/hoe-1-1-5-released/77692)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/hoe-1-1-5-released/77692 "2006-11-29T19:50:38Z")

</div>

hoe version 1.1.5 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It g…

---

## [Ruby profile gave different result in Windows and Linux](https://www.ruby-forum.com/t/ruby-profile-gave-different-result-in-windows-and-linux/77681)

<div class="topic-metadata">

**Author:** [@Luan](https://www.ruby-forum.com/u/Luan)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 7:12pm UTC](https://www.ruby-forum.com/t/ruby-profile-gave-different-result-in-windows-and-linux/77681 "2006-11-29T19:12:26Z")

</div>

Hi All, I am using “ruby -r profile prog” for the same program between Windows and Linux. I got the different result. In Windows, I got calls 9.52 0.35 0.06 865 0…

---

## [Elif 0.1.0 Released](https://www.ruby-forum.com/t/elif-0-1-0-released/77684)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/elif-0-1-0-released/77684 "2006-11-29T18:54:20Z")

</div>

Elif 0.1.0 Released I’ve needed it twice now and Martin DeMello also found a use for it, so I have rolled a gem out of my solution to Ruby Q. #64 to make it easier for people to find and use. What is Elif? A port of…

---

## [Wrong results using named arguments](https://www.ruby-forum.com/t/wrong-results-using-named-arguments/77673)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/wrong-results-using-named-arguments/77673 "2006-11-29T18:38:13Z")

</div>

Source: \[a.rb\] class A attr\_accessor :id attr\_accessor :name def initialize(id = nil, name = nil) @id = id @name = name end end \[test.rb\] require ‘a’ a1 = A.new(:name =\> “test”) a2 = A.new(:name =\> “test2”) p…

---

## [Ruby gtk editable cells in treeview](https://www.ruby-forum.com/t/ruby-gtk-editable-cells-in-treeview/77668)

<div class="topic-metadata">

**Author:** [@Alfonso](https://www.ruby-forum.com/u/Alfonso)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/ruby-gtk-editable-cells-in-treeview/77668 "2006-11-29T17:27:48Z")

</div>

Could anyone put an example of how can you make editable the cells of a ListStore or ThreeStore in in ruby gtk, and making them update when edited? I’m trying to guess how to do that looking at the api, but can get th…

---

## [Should rake remove t.name on failed tasks?](https://www.ruby-forum.com/t/should-rake-remove-t-name-on-failed-tasks/77669)

<div class="topic-metadata">

**Author:** [@Josef\_W](https://www.ruby-forum.com/u/Josef_W)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/should-rake-remove-t-name-on-failed-tasks/77669 "2006-11-29T16:55:42Z")

</div>

Hello! With rake, I often find myself doing something like that: file “custom.iso” =\> “custom.dir” do |t| begin sh “mkisofs -r -V My Install CD’ -cache-inodes” + " -J -l -b isolinux/isolinux.bin" + " -c isolinux/bo…

---

## [OT: Licensing (was Re: Is ruby a viable corporate alternativ](https://www.ruby-forum.com/t/ot-licensing-was-re-is-ruby-a-viable-corporate-alternativ/77647)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/ot-licensing-was-re-is-ruby-a-viable-corporate-alternativ/77647 "2006-11-29T16:55:42Z")

</div>

On 11/28/06, Ken B. removed\_email\_address@domain.invalid wrote: Consider yourself warned that Ruby doesn’t have any native compiler (like perlcc for perl) or bytecode compiler, so if you’re releasing your code to the…

---

## [DictionaryMatcher (#103)](https://www.ruby-forum.com/t/dictionarymatcher-103/77191)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 17\
**Last updated:** [November 29, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/dictionarymatcher-103/77191 "2006-11-29T16:25:35Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Returning Procs from methods?](https://www.ruby-forum.com/t/returning-procs-from-methods/77637)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 5\
**Last updated:** [November 29, 2006, 12:22pm UTC](https://www.ruby-forum.com/t/returning-procs-from-methods/77637 "2006-11-29T12:22:44Z")

</div>

I’ve got something which basically does this: some\_string.scan(/(whatever)/).each &do\_stuff where &do\_stuff is a Proc. currently there’s a case/when that assigns different Procs to do\_stuff depending on the value of …

---

## [Rc-rest 2.1.0 Released](https://www.ruby-forum.com/t/rc-rest-2-1-0-released/77638)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 12:16pm UTC](https://www.ruby-forum.com/t/rc-rest-2-1-0-released/77638 "2006-11-29T12:16:43Z")

</div>

rc-rest version 2.1.0 has been released! http://dev.robotcoop.com/Libraries/rc-rest This library makes it easy to implement REST-like web services APIs. Changes: = 2.1.0 Don’t split strings into extra params pairs…

---

## [Open classes, constructors and blocks](https://www.ruby-forum.com/t/open-classes-constructors-and-blocks/77632)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 10:08am UTC](https://www.ruby-forum.com/t/open-classes-constructors-and-blocks/77632 "2006-11-29T10:08:31Z")

</div>

Hi all, I’d like to re-open a class and to re-initialize its original constructor: class Foo def initialize yield self if block\_given? end end class Foo attr\_reader :var alias foo\_initialize initialize def ini…

---

## [FileUtils.touch doesn't work](https://www.ruby-forum.com/t/fileutils-touch-doesnt-work/77551)

<div class="topic-metadata">

**Author:** [@reversejt](https://www.ruby-forum.com/u/reversejt)\
**Replies:** 11\
**Last updated:** [November 29, 2006, 8:48am UTC](https://www.ruby-forum.com/t/fileutils-touch-doesnt-work/77551 "2006-11-29T08:48:24Z")

</div>

Why won’t Ruby just install from the port? I don’t know what Ruby is, what it is for, all I know is that it has our live webserver down because it has removed some shared file that is keeping Apache from running. All …

---

## [How to click on the select\_list little drop down arrow](https://www.ruby-forum.com/t/how-to-click-on-the-select-list-little-drop-down-arrow/77628)

<div class="topic-metadata">

**Author:** [@vikashkumar051](https://www.ruby-forum.com/u/vikashkumar051)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 8:38am UTC](https://www.ruby-forum.com/t/how-to-click-on-the-select-list-little-drop-down-arrow/77628 "2006-11-29T08:38:55Z")

</div>

I am using Watir and ruby. I have a web page in which there is a select list. I want to click on the drop down arrow on it, so that entire option in it get visible. Then we can choose some particular option from it. …

---

## [Google-checkout 0.1.0](https://www.ruby-forum.com/t/google-checkout-0-1-0/77627)

<div class="topic-metadata">

**Author:** [@1337p337](https://www.ruby-forum.com/u/1337p337)\
**Replies:** 0\
**Last updated:** [November 29, 2006, 8:26am UTC](https://www.ruby-forum.com/t/google-checkout-0-1-0/77627 "2006-11-29T08:26:22Z")

</div>

About A simple library for generating the HTML and XML you need to interface with Google Checkout (google.com/checkout). You can get a “Checkout” or “Buy Now” button with just a few lines of code. Right now it depe…

---

## [Sup 0.0.1 Released -- rubies for emails](https://www.ruby-forum.com/t/sup-0-0-1-released-rubies-for-emails/77590)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 3\
**Last updated:** [November 29, 2006, 8:18am UTC](https://www.ruby-forum.com/t/sup-0-0-1-released-rubies-for-emails/77590 "2006-11-29T08:18:21Z")

</div>

Do you use rubies to read your emails? Well, sup version 0.0.1 has been released! http://sup.rubyforge.org Sup is an attempt to take the UI innovations of web-based email readers (ok, really just GMail) and to combin…

---

## [Announcing Dhaka - A parser generator](https://www.ruby-forum.com/t/announcing-dhaka-a-parser-generator/77613)

<div class="topic-metadata">

**Author:** [@Mushfeq\_K](https://www.ruby-forum.com/u/Mushfeq_K)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 8:16am UTC](https://www.ruby-forum.com/t/announcing-dhaka-a-parser-generator/77613 "2006-11-29T08:16:21Z")

</div>

Hi, I wanted to introduce people to my project Dhaka (http://dhaka.rubyforge.org). The goal is to make a fairly general and flexible parser generator that’s simple and easy to use and completely in Ruby. All of its …

---

## [Two Advanced Ruby Performance Questions](https://www.ruby-forum.com/t/two-advanced-ruby-performance-questions/77315)

<div class="topic-metadata">

**Author:** [@thesunny](https://www.ruby-forum.com/u/thesunny)\
**Replies:** 26\
**Last updated:** [November 29, 2006, 7:08am UTC](https://www.ruby-forum.com/t/two-advanced-ruby-performance-questions/77315 "2006-11-29T07:08:01Z")

</div>

First, I am a Ruby newbie but am an experienced developer of highly scalable applications. I like the Ruby community because it is very friendly and helpful; however, I wanted to give my background because the answer …

---

## [Array question](https://www.ruby-forum.com/t/array-question/76792)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 35\
**Last updated:** [November 29, 2006, 6:32am UTC](https://www.ruby-forum.com/t/array-question/76792 "2006-11-29T06:32:07Z")

</div>

Hi all, I want to build a new array from an old one with every element being duplicated except the first and last element. And here are my codes. I wonder if this is a real Ruby way to do it. Thank you for your input…

---

## [Ruby/Rails on Gumstix](https://www.ruby-forum.com/t/ruby-rails-on-gumstix/77284)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 15\
**Last updated:** [November 29, 2006, 5:48am UTC](https://www.ruby-forum.com/t/ruby-rails-on-gumstix/77284 "2006-11-29T05:48:00Z")

</div>

For the past couple of weeks, I’ve been playing around with Ruby on a Gumstix computer. This is a small machine – it fits in the palm of an adult hand – with an ARM (Intel XScale variant) processor, 16 MB of flash di…

---

## [Overloading prefix operators](https://www.ruby-forum.com/t/overloading-prefix-operators/77565)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 2\
**Last updated:** [November 29, 2006, 3:07am UTC](https://www.ruby-forum.com/t/overloading-prefix-operators/77565 "2006-11-29T03:07:38Z")

</div>

Okay, so “operator overloading” is wonderfully trivial and natural in Ruby but it just occured to me that I have no idea how to change the behaviour of prefix operators like negate, “-x”, where x is an object… How doe…

---

## [Net-amazon-s3 0.1.0](https://www.ruby-forum.com/t/net-amazon-s3-0-1-0/77472)

<div class="topic-metadata">

**Author:** [@Ryan\_Grove](https://www.ruby-forum.com/u/Ryan_Grove)\
**Replies:** 1\
**Last updated:** [November 29, 2006, 2:55am UTC](https://www.ruby-forum.com/t/net-amazon-s3-0-1-0/77472 "2006-11-29T02:55:36Z")

</div>

Howdy folks, I recently released the first version of Net::Amazon::S3, a pure Ruby library for interacting with Amazon S3 via the REST API. I consider this release beta quality, but it currently has no known issues (a…

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

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