# Ruby Weekly News 27th March - 2nd April 2006

**URL:** <https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409>\
**Category:** ruby-talk\
**Created:** [4 April 2006 10:33 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409 "2006-04-04T10:33:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Sutherland1](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@Tim\_Sutherland1](https://rubytalk.org/u/Tim_Sutherland1)\
**Post date:** [4 April 2006 10:33 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/1 "2006-04-04T10:33:48Z")

</div>

[http://www.rubyweeklynews.org/20060402.html](http://www.rubyweeklynews.org/20060402.html)

Ruby Weekly News 27th March - 2nd April 2006

> **···**
>
> ============================================
> 
> &nbsp;&nbsp;&nbsp;Ruby Weekly News is a summary of the week's activity on the ruby-talk  
> &nbsp;&nbsp;&nbsp;mailing list / the comp.lang.ruby newsgroup / Ruby forum, brought to you  
> &nbsp;&nbsp;&nbsp;by Tim Sutherland.
> 
> &nbsp;&nbsp;&nbsp;[Contribute to the next newsletter]
> 
> # Articles and Announcements
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Italy on Rails - First Europe Ruby on Rails Conference  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Nathaniel Brown announced the first Ruby on Rails Conference in  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Europe. It will be held in Rome in late 2006, and run by Open Source  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Path.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Article: An Exercise in Metaprogramming with Ruby  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hal Fulton wrote an article in February called An Exercise in  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Metaprogramming with Ruby, but neglected to post a link to it on  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ruby-talk.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> My editor said it "didn't do that well" in terms of page views. And  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> I said, well, I should have posted it to ruby-talk. And she said: Do  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> that now, and we'll see what effect it has.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> So there you have it. No bots or artificial inflation, please. 😉
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The article was well received by the group.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[http://www.devsource.com/article2/0,1895,1928561,00.asp](http://www.devsource.com/article2/0,1895,1928561,00.asp)
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Brazilian Portuguese Ruby Book  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Eustaquio Rangel de Oliveira J announced his Brazilian Portuguese Ruby  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;book, to be released on April 5.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The book was added to the RubyGarden RubyBookList page.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> Com um texto orientado para quem já programa em alguma outra  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> linguagem, este livro apresenta exemplos claros que podem ser  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> facilmente assimilados, servindo de guia para o conhecimento e  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\> aprendizado da linguagem Ruby.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Ruby and RoR Book Roundup  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Rob Sanheim, "a big bookworm", put together a list of Ruby books  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coming up in 2006.
> 
> # User Group News
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* The San Diego Ruby Users Group lives!  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Daniel Amelang claimed that the San Diego Ruby Users Group lives!  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"After some false starts, we've decided to do this thing for real now.  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calling all San Diego Rubyists!"
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Ruby Social Club - 1st April Milan Meeting  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Chiaro Scuro: "The Ruby Social Club is getting up to speed and  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;spreading fast. After the first two meetings in Rome we are going to  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;meet up in Milan on the evening of saturday the first of April."
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* April Meeting of the Phoenix Ruby Users Group  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;James Britt announced that the Phoenix Ruby Users Group will be  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;meeting on April 10, and will likely discuss new features in Rails  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.1, and old features in Ruby's built-in unit testing library. "And  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I'm sure we'll make stuff up as we go."
> 
> # Quote of the Week
> 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\* Blixy Tee Bus Stop  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--------------------
> 
> &nbsp;&nbsp;&nbsp;So I was wearing my chunky bacon Blixy Tee  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[http://www.cafepress.com/blixytees.10116504](http://www.cafepress.com/blixytees.10116504)  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;at the School bus stop the other day, and my  
> &nbsp;&nbsp;&nbsp;son (5yrs) gets up on his tip toes and starts  
> &nbsp;&nbsp;&nbsp;trying to read foxspeak: "Chunky?... bacon?  
> &nbsp;&nbsp;&nbsp;Chunky Bacon... Come on, seriously... Chunky.  
> &nbsp;&nbsp;&nbsp;Bacon. Chunky Bacon. [repeated ad nauseam]"  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;Pretty soon all the kids were chanting.  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;It was fun.  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;Thanks Why,  
> &nbsp;&nbsp;  
> &nbsp;&nbsp;&nbsp;Bil Kleb
> 
> # Threads
> 
> &nbsp;&nbsp;ruby-dev summary 28274-28600  
> &nbsp;&nbsp;----------------------------
> 
> &nbsp;&nbsp;&nbsp;Furuhashi Apuri summarised the Japanese mailing list ruby-dev, which had  
> &nbsp;&nbsp;&nbsp;ideas around regexp named captures, \_\_method\_\_ to hold the name of the  
> &nbsp;&nbsp;&nbsp;currently executing method, and a proposal for multi-method support.
> 
> &nbsp;&nbsp;&nbsp;The latter would allow you to write
> 
> class Bar  
> &nbsp;&nbsp;&nbsp;def foo(String x)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"a string"  
> &nbsp;&nbsp;&nbsp;end
> 
> &nbsp;&nbsp;&nbsp;def foo(Integer x)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"an integer"  
> &nbsp;&nbsp;&nbsp;end  
> end
> 
> b = Bar.new  
> b.foo("hello") # -\> "a string"  
> b.foo(5) # -\> "an integer"
> 
> &nbsp;&nbsp;&nbsp;The String or Integer or ... is just anything that has an === method.  
> &nbsp;&nbsp;&nbsp;"Matz said he agrees and this can be committed to 1.9 if it is fast  
> &nbsp;&nbsp;&nbsp;implementation."
> 
> &nbsp;&nbsp;Ruby Goes to the Sun  
> &nbsp;&nbsp;--------------------
> 
> &nbsp;&nbsp;&nbsp;April Fools' jokes. Hansson's getting the band back together. Mmmbop.
> 
> &nbsp;&nbsp;Testing DiGraph (#73)  
> &nbsp;&nbsp;---------------------
> 
> &nbsp;&nbsp;&nbsp;Robert Feldt posted this week's Ruby Quiz.
> 
> &nbsp;&nbsp;&nbsp;"In this week's Ruby Quiz you will not only have fun and (hopefully) learn  
> &nbsp;&nbsp;&nbsp;something; you will also contribute to a research project evaluating  
> &nbsp;&nbsp;&nbsp;automated testing techniques. So please read on and then take the quiz!"
> 
> &nbsp;&nbsp;&nbsp;"The goal of this quiz is to write a good and extensive test suite for a  
> &nbsp;&nbsp;&nbsp;Ruby DiGraph (directed graph) class."
> 
> &nbsp;&nbsp;WIN32OLE#[] and WIN32OLE#[]= method in Ruby 1.9 (or later)  
> &nbsp;&nbsp;----------------------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;Win32OLE author Masaki Suketa said he was considering changing the  
> &nbsp;&nbsp;&nbsp;behaviour of WIN32OLE#[] and WIN32OLE#[]= "in Ruby 1.9 or later."
> 
> &nbsp;&nbsp;&nbsp;"I have not commited the change yet. Before commiting it, I want  
> &nbsp;&nbsp;&nbsp;suggestions or opinions from Win32OLE users."
> 
> &nbsp;&nbsp;&nbsp;Currently, [] and []= map to method calls, so that excel.visible = true  
> &nbsp;&nbsp;&nbsp;and excel['visible'] = true are equivalent. The change is to make them act  
> &nbsp;&nbsp;&nbsp;on properties, so you can write code like worksheet.cells[1,2] = 10.
> 
> &nbsp;&nbsp;&nbsp;Dave Burt:  
> &nbsp;&nbsp;&nbsp;\> Excellent! This makes a lot more sense than the existing function of []  
> &nbsp;&nbsp;&nbsp;\> and []=.  
> &nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;\> When I first used WIN32OLE, I was surprised that you couldn't use [] to  
> &nbsp;&nbsp;&nbsp;\> access index operations.
> 
> &nbsp;&nbsp;Rails 1.1  
> &nbsp;&nbsp;---------
> 
> &nbsp;&nbsp;&nbsp;In a thread noting the release of Rails 1.1, Jim Weirich commented "The  
> &nbsp;&nbsp;&nbsp;CVS head of rubygems will do incremental downloads of the index file. We  
> &nbsp;&nbsp;&nbsp;are working out the details of testing this on a large site like  
> &nbsp;&nbsp;&nbsp;RubyForge."
> 
> &nbsp;&nbsp;&nbsp;This will greatly improve the speed of the "Updating Gem source index"  
> &nbsp;&nbsp;&nbsp;action when installing or upgrading gems.
> 
> &nbsp;&nbsp;Ruby Black Belt  
> &nbsp;&nbsp;---------------
> 
> &nbsp;&nbsp;&nbsp;Dmitry Buzdin posted a draft Ruby exam, having decided to create a Ruby  
> &nbsp;&nbsp;&nbsp;equivalent of [JavaBlackBelt.com](http://JavaBlackBelt.com).
> 
> &nbsp;&nbsp;&nbsp;"What we need is a feedback of experienced Ruby enthusiasts (means You)."
> 
> &nbsp;&nbsp;&nbsp;James Edward Gray II posted a list of errors in the draft exam, while  
> &nbsp;&nbsp;&nbsp;Justin Collins asked what the purpose of the exam was, given that  
> &nbsp;&nbsp;&nbsp;previously "most people expressed a strong dislike for anything resembling  
> &nbsp;&nbsp;&nbsp;Ruby `certification'."
> 
> &nbsp;&nbsp;&nbsp;Dmitry: "What we are talking here about is a bit different, than  
> &nbsp;&nbsp;&nbsp;traditional certification. The main purpose is learning. You pass the exam  
> &nbsp;&nbsp;&nbsp;and see that You don't know some answers."
> 
> &nbsp;&nbsp;&nbsp;Listrecv: "One of the problems I'd have with a certification of this sort  
> &nbsp;&nbsp;&nbsp;is that it focuses only on the least important aspects of the language -  
> &nbsp;&nbsp;&nbsp;syntax, nomenclature, conventions, etc."
> 
> &nbsp;&nbsp;&nbsp;Peter Szinek mentioned The Python Challenge - a set of programming riddles  
> &nbsp;&nbsp;&nbsp;where you must apply some Python programming techniques to advance to the  
> &nbsp;&nbsp;&nbsp;next level.
> 
> &nbsp;&nbsp;&nbsp;\> I came to know a LOT of non-programmers through python challange - i  
> &nbsp;&nbsp;&nbsp;\> have been mailing on a (nearly) dayly basis with an US (non programmer)  
> &nbsp;&nbsp;&nbsp;\> girl (i think se was a lawyer) up to the 18th or something level. When  
> &nbsp;&nbsp;&nbsp;\> she begun she did nothing about programming at all, after 1 week he has  
> &nbsp;&nbsp;&nbsp;\> been posting about regexps, after 2 weeks about bzip2 from python, after  
> &nbsp;&nbsp;&nbsp;\> 3 weeks cookies and HTTP, well you get the idea... She was really  
> &nbsp;&nbsp;&nbsp;\> enthusiastic to learn this stuff (which is IMHO not typical for a non  
> &nbsp;&nbsp;&nbsp;\> technical person) just to see the next screen... And she was not the  
> &nbsp;&nbsp;&nbsp;\> only one...
> 
> &nbsp;&nbsp;&nbsp;This made Bill Kelly think of \_why's Try Ruby! web-based interactive  
> &nbsp;&nbsp;&nbsp;interpreter. It has an on-line tutorial where you type code into your web  
> &nbsp;&nbsp;&nbsp;browser and see what happens.
> 
> &nbsp;&nbsp;&nbsp;Pistos Christou: "I tentatively agree with the others about official  
> &nbsp;&nbsp;&nbsp;certification, but this idea of some sort of online interface that covers  
> &nbsp;&nbsp;&nbsp;all (or many) of the features, tools, libs, etc. of Ruby in an  
> &nbsp;&nbsp;&nbsp;interactive, educational fashion sounds appealing."
> 
> &nbsp;&nbsp;&nbsp;Ruby Quiz was mentioned several times as a resource for improving your  
> &nbsp;&nbsp;&nbsp;Ruby skills.
> 
> &nbsp;&nbsp;Calling R from Ruby  
> &nbsp;&nbsp;-------------------
> 
> &nbsp;&nbsp;&nbsp;AlexG created a simple bridge between Ruby and R (a statistical package /  
> &nbsp;&nbsp;&nbsp;language), allowing him to use R libraries from Ruby.
> 
> &nbsp;&nbsp;&nbsp;The thread also discussed advantages and disadvantages of using either of  
> &nbsp;&nbsp;&nbsp;the languages over the other, for example R has a fast matrix library (but  
> &nbsp;&nbsp;&nbsp;so does Ruby, via NArray), R is "Procedural, with highly limited function  
> &nbsp;&nbsp;&nbsp;support", but
> 
> &nbsp;&nbsp;&nbsp;\> Au contraire! R is at heart a functional language with a Lisp ancestry!  
> &nbsp;&nbsp;&nbsp;\> What's different about R (and S) is two different ways of doing objects  
> &nbsp;&nbsp;&nbsp;\> and classes, neither one of which is remotely like a Java or Ruby  
> &nbsp;&nbsp;&nbsp;\> programmer's idea of objects and classes. [M. Edward Borasky]
> 
> &nbsp;&nbsp;&nbsp;Going back to the original topic, Thomas said that if you're on Windows  
> &nbsp;&nbsp;&nbsp;then you can access R through Win32OLE.
> 
> &nbsp;&nbsp;Round floats to N decimal places?  
> &nbsp;&nbsp;---------------------------------
> 
> &nbsp;&nbsp;&nbsp;Pat Maddox:
> 
> &nbsp;&nbsp;&nbsp;\> I'm doing some math that results in floats with ~10 decimal places, but  
> &nbsp;&nbsp;&nbsp;\> I'd like to round them to 2 places. Is there a built in way of doing  
> &nbsp;&nbsp;&nbsp;\> this? Right now I'm doing format("%0.2f", the\_float).to\_f, which seems  
> &nbsp;&nbsp;&nbsp;\> to work fine but it seems like an ugly way of doing it.
> 
> &nbsp;&nbsp;&nbsp;Dave Burt said that the Facets project defines Numeric#round\_at(d) and  
> &nbsp;&nbsp;&nbsp;Numeric#round\_to(n) methods for this purpose, and suggested that Ruby's  
> &nbsp;&nbsp;&nbsp;built-in Numeric#round method be altered to accept an optional parameter  
> &nbsp;&nbsp;&nbsp;for degrees of rounding.
> 
> &nbsp;&nbsp;&nbsp;Karl Brodowsky suggested Pat take a look at the LongDecimal library, which  
> &nbsp;&nbsp;&nbsp;is "specialized for doing calculations with a defined number of digits  
> &nbsp;&nbsp;&nbsp;after the decimal point."
> 
> &nbsp;&nbsp;B & E (#72)  
> &nbsp;&nbsp;-----------
> 
> &nbsp;&nbsp;&nbsp;Stephen Waits created (last) week's Ruby Quiz - find the least number of  
> &nbsp;&nbsp;&nbsp;security codes you need to try to break a system where the code passes  
> &nbsp;&nbsp;&nbsp;whenever the last sequences of key-presses matches the codes, without any  
> &nbsp;&nbsp;&nbsp;reset between.
> 
> &nbsp;&nbsp;Get the size in pixels for a string  
> &nbsp;&nbsp;-----------------------------------
> 
> &nbsp;&nbsp;&nbsp;Stéphane Thibaudeau asked how to get the pixel width and height of a  
> &nbsp;&nbsp;&nbsp;string rendered with a particular font.
> 
> &nbsp;&nbsp;&nbsp;Chris Alfeld:
> 
> require 'tk'
> 
> f = TkFont.new('Courier 10')  
> width = f.measure("Hi There!")  
> height = f.metrics.assoc('linespace')[1]
> 
> # New Releases
> 
> &nbsp;&nbsp;JRuby 0.8.3  
> &nbsp;&nbsp;-----------
> 
> &nbsp;&nbsp;&nbsp;Thomas E Enebo said that JRuby 0.8.3 was released. "JRuby is a project to  
> &nbsp;&nbsp;&nbsp;provide a Java implementation of the Ruby language and interpreter."
> 
> &nbsp;&nbsp;&nbsp;jirb now works, using Java classes from Ruby is "dramatically" faster,  
> &nbsp;&nbsp;&nbsp;several important bugs were fixed and more.
> 
> &nbsp;&nbsp;Mongrel Web Server 0.3.12 -- Pre-Release  
> &nbsp;&nbsp;----------------------------------------
> 
> &nbsp;&nbsp;&nbsp;Zed Shaw: "Mongrel is due for a 0.3.12 release which will feature some  
> &nbsp;&nbsp;&nbsp;pretty insane goodies for everyone. There's talk of IOWA support, lots of  
> &nbsp;&nbsp;&nbsp;speed improvements (including sendfile support), a great Configurator  
> &nbsp;&nbsp;&nbsp;which makes configuring Mongrel a snap (especially for framework  
> &nbsp;&nbsp;&nbsp;implementers), and a ton of debugging stuff."
> 
> &nbsp;&nbsp;&nbsp;"DON'T CRY" (it's a pre-release).
> 
> &nbsp;&nbsp;&nbsp;"Mongrel now has sponsorship from Eastmedia ([http://www.eastmedia.com](http://www.eastmedia.com)) in  
> &nbsp;&nbsp;&nbsp;partnership with Verisign ([http://www.verisign.com/](http://www.verisign.com/)) to make Mongrel fast  
> &nbsp;&nbsp;&nbsp;and stable enough for enterprise class loads (meaning "gigantic", not  
> &nbsp;&nbsp;&nbsp;"Java style")."
> 
> &nbsp;&nbsp;Rake 0.7.1  
> &nbsp;&nbsp;----------
> 
> &nbsp;&nbsp;&nbsp;Jim Weirich put out a new Rake release, fixing a bug on Windows and adding  
> &nbsp;&nbsp;&nbsp;a few features.
> 
> &nbsp;&nbsp;Instant Rails 1.1  
> &nbsp;&nbsp;-----------------
> 
> &nbsp;&nbsp;&nbsp;Curt Hibbs announced Instant Rails 1.1 an update of the "one-stop Rails  
> &nbsp;&nbsp;&nbsp;runtime solution containing Ruby, Rails, Apache, and MySQL, all  
> &nbsp;&nbsp;&nbsp;preconfigured and ready to run". Unsurprisingly, this release features  
> &nbsp;&nbsp;&nbsp;Rails 1.1.
> 
> &nbsp;&nbsp;ZenTest 3.1.0  
> &nbsp;&nbsp;-------------
> 
> &nbsp;&nbsp;&nbsp;Ryan Davis exposed ZenTest 3.1.0, with updated versions of zentest,  
> &nbsp;&nbsp;&nbsp;unit\_diff, autotest and multiruby.
> 
> &nbsp;&nbsp;RJS, Active Record++, respond\_to, integration tests, and 500 other things!  
> &nbsp;&nbsp;--------------------------------------------------------------------------
> 
> &nbsp;&nbsp;&nbsp;Hoho, it's Rails 1.1.
> 
> &nbsp;&nbsp;&nbsp;"The biggest upgrade in Rails history has finally arrived. Rails 1.1  
> &nbsp;&nbsp;&nbsp;boasts more than 500 fixes, tweaks, and features from more than 100  
> &nbsp;&nbsp;&nbsp;contributors. Most of the updates just make everyday life a little  
> &nbsp;&nbsp;&nbsp;smoother, a little rounder, and a little more joyful."-David Heinemeier  
> &nbsp;&nbsp;&nbsp;Hansson.
> 
> &nbsp;&nbsp;Ruby-FLTK 0.9.3  
> &nbsp;&nbsp;---------------
> 
> &nbsp;&nbsp;&nbsp;Jeremy Henty announced a new version of the Ruby-FLTK bindings, "Yes, it's  
> &nbsp;&nbsp;&nbsp;been a while!".

---

<div class="post-metadata">

**Author:** ![Mauricio\_Fernandez](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Mauricio\_Fernandez](https://rubytalk.org/u/Mauricio_Fernandez)\
**Post date:** [4 April 2006 21:31 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/2 "2006-04-04T21:31:26Z")

</div>

> [http://www.rubyweeklynews.org/20060402.html](http://www.rubyweeklynews.org/20060402.html)
> 
> Ruby Weekly News 27th March - 2nd April 2006

[...]

> &nbsp;&nbsp;ruby-dev summary 28274-28600  
> &nbsp;&nbsp;----------------------------
> 
> &nbsp;&nbsp;&nbsp;Furuhashi Apuri summarised the Japanese mailing list ruby-dev, which had  
> &nbsp;&nbsp;&nbsp;ideas around regexp named captures, \_\_method\_\_ to hold the name of the  
> &nbsp;&nbsp;&nbsp;currently executing method, and a proposal for multi-method support.
> 
> &nbsp;&nbsp;&nbsp;The latter would allow you to write

[...]

> &nbsp;&nbsp;&nbsp;The String or Integer or ... is just anything that has an === method.  
> &nbsp;&nbsp;&nbsp;"Matz said he agrees and this can be committed to 1.9 if it is fast  
> &nbsp;&nbsp;&nbsp;implementation."

As I said under that thread, I think this (proposal for multi-method support)  
is yet another April 1st joke. I'm subscribed to ruby-dev and the message  
referred to in in that summary ([ruby-dev:28533]) doesn't exist: indeed, the  
last message is [ruby-dev:28505] as of Wed, 5 Apr 2006 03:30:04 +0900.

Maybe it would be better to clarify that for the record.

> **···**
>
> On Tue, Apr 04, 2006 at 07:33:48PM +0900, Tim Sutherland wrote:
> 
> --  
> Mauricio Fernandez - [http://eigenclass.org](http://eigenclass.org) - singular Ruby

---

<div class="post-metadata">

**Author:** ![Benjohn\_Barnes](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@Benjohn\_Barnes](https://rubytalk.org/u/Benjohn_Barnes)\
**Post date:** [5 April 2006 21:35 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/3 "2006-04-05T21:35:01Z")

</div>

Tim, thanks for writing the summaries!

When I came to Ruby, I found some mailing list summaries, and found them very useful. I imagine it must take quite a while to put together, so thank you for taking the time to do so!

Cheers,  
&nbsp;&nbsp;Benjohn

---

<div class="post-metadata">

**Author:** ![Peter\_Szinek2](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@Peter\_Szinek2](https://rubytalk.org/u/Peter_Szinek2)\
**Post date:** [6 April 2006 16:31 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/4 "2006-04-06T16:31:09Z")

</div>

Tim Sutherland wrote:

> &nbsp;&nbsp;Ruby Black Belt  
> &nbsp;&nbsp;---------------
> 
> &nbsp;&nbsp;&nbsp;Peter Szinek mentioned The Python Challenge - a set of programming riddles  
> &nbsp;&nbsp;&nbsp;where you must apply some Python programming techniques to advance to the  
> &nbsp;&nbsp;&nbsp;next level.

Btw, during the writing of this thread, we begun to work on [www.rubychallenge.com](http://www.rubychallenge.com)  
with Alex Combas - It will be a Ruby on Rails site stuffed with great programming  
puzzles, trying to fill the gap between the pickaxe (n00b) and ruby quiz (advanced) levels. If we will manage to implement our ideas, it will be way more cooler than pythonchallenge.com in every aspect, at least imho ;-).

After we reach a certain level, we would like to incorporate the Ruby community as well, so stay tuned!

bw,  
Peter

---

<div class="post-metadata">

**Author:** ![Tim\_Sutherland1](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@Tim\_Sutherland1](https://rubytalk.org/u/Tim_Sutherland1)\
**Post date:** [4 April 2006 22:13 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/5 "2006-04-04T22:13:46Z")

</div>

In article \<20060404213120.GB3504@tux-chan\>, Mauricio Fernandez wrote:

> > [http://www.rubyweeklynews.org/20060402.html](http://www.rubyweeklynews.org/20060402.html)

[...]

> As I said under that thread, I think this (proposal for multi-method support)  
> is yet another April 1st joke. I'm subscribed to ruby-dev and the message  
> referred to in in that summary ([ruby-dev:28533]) doesn't exist: indeed, the  
> last message is [ruby-dev:28505] as of Wed, 5 Apr 2006 03:30:04 +0900.
> 
> Maybe it would be better to clarify that for the record.

I fell for it, doh! I've updated the site.

> **···**
>
> > On Tue, Apr 04, 2006 at 07:33:48PM +0900, Tim Sutherland wrote:

---

<div class="post-metadata">

**Author:** ![Pistos\_Christou1](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Pistos\_Christou1](https://rubytalk.org/u/Pistos_Christou1)\
**Post date:** [6 April 2006 15:43 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/6 "2006-04-06T15:43:18Z")

</div>

Benjohn Barnes wrote:

> Tim, thanks for writing the summaries!
> 
> When I came to Ruby, I found some mailing list summaries, and found  
> them very useful. I imagine it must take quite a while to put  
> together, so thank you for taking the time to do so!

+1

I have appreciated the Ruby Weekly News for some time now. We encourage  
you to keep up the good work. 🙂

Pistos

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).

---

<div class="post-metadata">

**Author:** ![James\_Edward\_Gray\_II](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@James\_Edward\_Gray\_II](https://rubytalk.org/u/James_Edward_Gray_II)\
**Post date:** [7 April 2006 03:21 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/7 "2006-04-07T03:21:50Z")

</div>

> ruby quiz (advanced) levels

Ruby Quiz is your (the community's) quiz. I take submissions:

submission@rubyquiz.com

Beginners, get those problems in!

> After we reach a certain level, we would like to incorporate the Ruby community as well

A Ruby Quiz to add levels? 😃

James Edward Gray II

> **···**
>
> On Apr 6, 2006, at 11:31 AM, Peter Szinek wrote:

---

<div class="post-metadata">

**Author:** ![Benjohn\_Barnes](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@Benjohn\_Barnes](https://rubytalk.org/u/Benjohn_Barnes)\
**Post date:** [5 April 2006 21:31 UTC](https://rubytalk.org/t/ruby-weekly-news-27th-march-2nd-april-2006/26409/8 "2006-04-05T21:31:10Z")

</div>

Heh - I thought it sounded like an excellent approach! I particularly liked the idea of using the === operator (that I've started to think of as a predicate acceptance test - it makes the receiver behave as a predicate, and the argument is matched for satisfying the predicate) for the matching. Really very similar to a case statement, but extensible, I suppose.

> **···**
>
> On 4 Apr 2006, at 23:13, Tim Sutherland wrote:
> 
> > In article \<20060404213120.GB3504@tux-chan\>, Mauricio Fernandez wrote:
> > 
> > > On Tue, Apr 04, 2006 at 07:33:48PM +0900, Tim Sutherland wrote:
> > > 
> > > > [http://www.rubyweeklynews.org/20060402.html](http://www.rubyweeklynews.org/20060402.html)
> > 
> > [...]
> > 
> > > As I said under that thread, I think this (proposal for multi-method support)  
> > > is yet another April 1st joke. I'm subscribed to ruby-dev and the message  
> > > referred to in in that summary ([ruby-dev:28533]) doesn't exist: indeed, the  
> > > last message is [ruby-dev:28505] as of Wed, 5 Apr 2006 03:30:04 +0900.
> > > 
> > > Maybe it would be better to clarify that for the record.
> > 
> > I fell for it, doh! I've updated the site.
