The Money Train: A Rails “E-Commerce Recipes” book



This isn't particularly new, alas, but still interesting:
Prolific PuneRuby blogger Satish Talim has just begun a course of free Ruby lessons. They're open to anyone who wants to get involved, and so far 43 people are signed up! The lessons have already begun, but you can still get in on the action. The syllabus is available to check out, and to register to receive the lessons you only have to e-mail Satish at satish.talim /at gmail.com. This might be an ideal chance to get those friends who keep asking you questions about Ruby off your back ;-)
#!/usr/bin/ruby require 'rubyhp' __END__ <html> <body> <% cgi.params.each do |key, value| %> <%= key %>: <%= value %><br /> <% end %> <% if cgi.params.empty? %> Sorry, please enter some cgi parameters. How about "?foo=baz"? <% end %> </body> </html>
Christopher Cyll has put together a great little example of how to quickly create templated Web pages with Ruby without requiring any frameworks. It relies on CGI, but sometimes that's all you need, and it makes throwing together tiny Ruby-powered Web pages possible as easy as creating a simple PHP page.
It's not mentioned on the official Ruby homepage yet, but Matz has just announced the release of Ruby 1.8.5 on the Ruby mailing list. He claims there are no big changes from 1.8.4 and cites stability as the main benefit of upgrading. Unless you're having problems with 1.8.4, however, I'd wait a few weeks to see how it pans out, but if you're itching to try it out get it from http://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz

The entries and the numbers associated with them were shown in the last post, so choosing a winner is as simple as using 'rand'. For the first prize $100 drawing:
These are all the valid entries into the first prize contest from which one random winner will be chosen:
Today I read JesusPhreak's "Of snakes and rubies; Or why I chose Python over Ruby" and it highlighted a few of the feelings that have been running around in my head lately regarding Ruby. He points out Python's wealth and depth of libraries, style guides, and how Python is wider used and less dependent on a single technology to promote it. While Rails is good, he seems to feel that Rails is defining the entire Ruby experience too much. I'm inclined to, sadly, agree.

Scott Laird looks at how to profile memory leaks in Rails:
Alex Bradbury has developed Ariel, a library that uses predefined examples to work out how to extract information from other documents. It was a Google Summer of Code project and was mentioned by Austin Ziegler. More directly from Alex: