Gyre: Web-based IDE and debugger for Rails




Akhil Bansal has created a cool bash script that will create a new Rails project, import it to an SVN repository, then remove and ignore log files, sessions, temporary files, and set up database.yml correctly. I was previously using a Rake task for this, but installing this script at the OS level might prove easier for me in future.
Mark A. McBride has put together a great article about processing credit cards with Ruby on Rails using the Active Merchant plugin.
In case the title of this post is giving you deja-vu, we've looked at "How To Create A Ruby Extension In C" before at Ruby Inside. We've also looked at using RubyInline to make the process even faster by not having to write a specialized C extension.

It's good to start seeing those Rails 1.2 guides coming out of the woodwork. Hopefully I'll get able to do a roundup of them shortly, but for now Andre Lewis presents a quick, practical guide to nesting CRUD resources in Rails 1.2.

Bruce Tate continues his fine Crossing Borders series with a look at Ruby's support for closures. If code blocks and block techniques used by routines such as Rails' respond_to confuse you, it's a great primer.
Russ Olsen has been putting together a small series of blog posts about building a DSL in Ruby. The first part dates from October 2006, but the second part has just been released, making it a good double length read. In the mini-series, Russ looks at the motivation for developing a DSL and develops a basic DSL called Potemkin.


License: Creative Commons Attribution-ShareAlike 2.0. Copyright, Why The Lucky Stiff.