Updated Articles and Resources
- Refactoring: Ruby EditionCreated: 2009-11-24 @ 12:09:29 EST
A review of the book Refactoring: Ruby Edition by Jay Fields, Shane Harvie and Martin Fowler with Kent Beck… - Distributed Programming in Ruby by Mark BatesCreated: 2009-11-17 @ 12:52:53 EST
Distributed Programming with Ruby by Mark Bates is a broad look at all options available for distributed programming with Ruby. Though the book covers many libraries (those included with Ruby as w… - Spotlight on Gems: PrawnCreated: 2009-11-10 @ 16:54:12 EST
Prawn is a pure-Ruby library for generating PDF files. From your Ruby code, you'll be able to compose PDF files with any content and of any size. This is not only ideal for generating reports, bu… - ModulesCreated: 2009-11-03 @ 06:57:02 EST
In any programming language, you need some way to prevent naming clashes. This is especially true when you're using at least one third party library, where you have no control over the naming sche… - Mixin ModulesCreated: 2009-10-27 @ 18:20:06 EDT Updated: 2009-10-27 @ 18:22:00 EDT
Mixins are one of Ruby's defining features, but often one of the most difficult to understand for those new to Ruby. They're not difficult to understand, but they're not something most programmers… - Making Deep Copies in RubyCreated: 2009-10-20 @ 15:35:09 EDT
It's often necessary to make a copy of a value in Ruby. While this may seem simple, and it is for simple objects, as soon as you have to make a copy of a data structure with multiple array or hash… - Spotlight on Gems: TrollopCreated: 2009-10-13 @ 13:58:31 EDT
In a previous article we discussed how to parse command-line options with Ruby's default OptionParser class. While this does work quite well, it's quite verbose. Trollop is a great library that s… - Spotlight on Gems: nanocCreated: 2009-10-06 @ 18:20:28 EDT Updated: 2009-10-06 @ 18:21:16 EDT
If your site is static HTML pages, what does Ruby have to do with anything? After all, you just write the HTML out and upload it to the server, right? This is the "boring way" of doing … - Creating Database-driven Apps with SinatraCreated: 2009-09-29 @ 21:17:35 EDT
This article will create a rolodex application that can be used to keep track of contact information. The total line count is about 130 lines, split about half and half with code and views… - Creating Database-driven Apps with SinatraCreated: 2009-09-29 @ 21:07:05 EDT
This article will create a rolodex application that can be used to keep track of contact information. The total line count is about 130 lines, split about half and half with code and views… - A Quick Introduction to DataMapperCreated: 2009-09-22 @ 19:56:49 EDT
DataMapper is a "Object/Relational Mapper" or ORM. In other words, it maps Ruby objects to database records that makes with objects from a database a snap… - Spotlight on Gems: SketchesCreated: 2009-09-15 @ 18:30:10 EDT
Sketches is a really cool gem that helps you test out code in IRB. Without a tool like Sketches to test out some code in IRB you can either type it directly into IRB, or save it in a file and load… - Using Sinatra to Provide a Web Interface for a GemCreated: 2009-09-08 @ 17:07:39 EDT
So far, we've discussed how to use Sinatra in general, how to handle and route requests, and how to build views using Haml. Before we take the plunge into using data storage with Sinatra, let's pu… - Spotlight on Gems: Ruby Version ManagerCreated: 2009-09-01 @ 17:52:34 EDT Updated: 2009-09-01 @ 17:53:12 EDT
Ruby Version Manager is a new gem that allows you to easily install and switch between Ruby interpreters. This includes switching between different versions of the official Ruby interpreter, inclu… - Riding Shotgun with SinatraCreated: 2009-08-25 @ 21:30:56 EDT
Now that you can write controller logic and views and Haml, you can start putting together some more complex application. There's one very annoying thing though: Sinatra does not reload its code … - Using Haml with SinatraCreated: 2009-08-18 @ 21:13:28 EDT
How to use Haml to create Sinatra views and layouts… - Sinatra URL MatchingCreated: 2009-08-11 @ 10:13:51 EDT
How do do various types of URL matching in Sinatra… - Hello, Sinatra! Using Sinatra in RubyCreated: 2009-08-04 @ 09:17:28 EDT Updated: 2009-08-04 @ 13:46:01 EDT
How to get started in Sinatra, including how to use actions, parameters, ERB and views… - What is Sinatra?Created: 2009-07-29 @ 06:17:45 EDT
Sinatra is a web framework. Simply put, it's a library that allows you to write web applications with a minimum of red tape… - The Merb Way--A Review of The Merb Way by Foy SavasCreated: 2009-07-23 @ 11:38:38 EDT
A review of the book The Merb Way by Foy Savas, published by Addison-Wesley Professional and Safari Books. … - How Do You Comment Your Ruby Code?Created: 2009-07-20 @ 11:08:28 EDT
Commenting Ruby code is a good way to leave notes and annotations for other programmers, but it's not always easy to decipher. How do you comment your code?… - Installing Gems from GitCreated: 2009-07-14 @ 03:53:37 EDT Updated: 2009-07-14 @ 13:02:06 EDT
How to install gems from git repositories… - 10 Great Resources to Learn Ruby for FreeUpdated: 2009-09-15 @ 09:19:00 EDT
Sometimes the old adage rings true: the best things in life are free. If you've wanted to learn a little Ruby, but haven't been able to fit a programming course into your budget, don't worry. Ther… - An Introduction to Shoes--Using Shoes for Online ApplicationsUpdated: 2009-08-24 @ 09:06:09 EDT
This tutorial is a introductory look at the Shoes GUI toolkit for Ruby. You'll find it is easy to learn, making it a good option for beginning programmers to make Shoes online applications…
