advertisement

O'Reilly Network Ruby and Ruby on Rails Articles

Go to Ruby on Rails articles or Ruby articles.

There's a ton of good Ruby and Rails content to be found inside the O'Reilly Network. The list below is a complete index to all our Ruby and RoR content. Be sure to also check out the Ruby Blog for great information from our expert bloggers.

Ruby on Rails Articles

Go to the Cookin' with Ruby on Rails series, articles by Gregory Brown, or miscellaneous Rails articles.

Rolling with Ruby on Rails Series

A series by Curt Hibbs and Bill Walton introducing the world of Rails.

Rolling with Ruby on Rails, January 20, 2005

The Ruby community is abuzz about Rails, a web application framework that makes database-backed apps dead simple. What's the fuss? Is it worth the hype? Curt Hibbs shows off Rails, building a simple application that even non-Rubyists can follow.

Rolling with Ruby on Rails, Part 2, March 3, 2005

Curt Hibbs introduced Ruby on Rails by building a simple but functional web application in just a few minutes. Does the ease of use continue? He thinks so. In the second of two parts, Curt completes his example Rails application in merely 47 lines of code.

Rolling with Ruby on Rails Revisited, December 14, 2006

Was it really two years ago when Curt Hibbs introduced Ruby on Rails to the world at large? In that time, Rails has grown up a lot. Curt and Bill Walton revisit the original tutorial to bring it up-to-date and show off how much easier it is to get started with the powerful Ruby on Rails web framework.

Rolling with Ruby on Rails Revisited, Part 2, January 5, 2007

Here's the second half of Curt Hibbs and Bill Walton’s update.

Cookin' with Ruby on Rails Series

A monthly series by Bill Walton of Rolling with Ruby on Rails Revisited fame.

Cookin' With Ruby on Rails, May 17, 2007

Bill Walton, well known for his "Rolling with Ruby on Rails Revisited" tutorials, is back with a new series that takes Rails to the next level. In the first installment, CB gets a new set of requirements from the Boss and learns a bit about migrations in Rails.

Cookin' with Ruby on Rails - Designing for Testability, June 28, 2007

Paul and CB are back, and this time CB wants Paul to convince the Boss to try a new approach to testing, one that leverages the powerful tools Rails can offer. In the latest installment of Bill Walton's monthly series, you'll learn how to build effective testing into your Rails projects

Cookin' with Ruby on Rails - More Designing for Testability, July 28, 2007

Paul and CB are almost ready to start designing functional tests for their application, but Paul still thinks there are some unit tests yet to write. In this month's installment, Bill Walton goes into more details on how to build a good set of unit tests for a Rails application and then moves on to look at functional testing.

Rails Articles by Gregory Brown

Gregory is a well-known Rails developer and frequent contributor to the ONLamp Ruby blog.

Understanding ActiveRecord: A Gentle Introduction to the Heart of Rails (Part 1), April 19, 2007

ActiveRecord is one of the key elements that makes up Ruby on Rails. It is the crucial link between Rails and the underlying databases that fuel it. Gregory Brown, lead developer of Ruby Reports, begins a two-part exploration of what makes ActiveRecord tick.

Understanding ActiveRecord: A Gentle Introduction to the Heart of Rails (Part 2), May 10, 2007

In the second part of Gregory Brown's in-depth examination of the Rails ActiveRecord Persistence layer, he looks at how to model relationships, such as one to many and many to many. This comprehensive introduction to ActiveRecord will let you hit the ground running when you need to integrate a database into Rails.

Rails Testing: Not Just for the Paranoid, June 7, 2007

One of the major features of Ruby on Rails is that it provides automatic scaffolding to set up tests. Rails guru Gregory Brown shows us how you can leverage these capabilities to create unit and functional tests for your applications.

Miscellaneous Rails Articles

Ruby on Rails Meets Eclipse, April 26, 2007

Many developers are familiar with the Eclipse development environment. With RDT and RadRails, Ruby on Rails developers can have access to the same powerful feature set. Deepak Vohra provides a detailed walkthrough of how to install these packages and how to create a simple CRUD application using them.

Bringing Ruby on Rails with FastCGI into Mac OS X Server, March 29, 2007

Most of the Ruby on Rails documentation on deployment for Mac OS X glosses over key parts of the plumbing. In this article, Luke Burton walks you through a Rails installation on Mac OS X Server.

Hacking Asterisk and Rails with RAGI, December 19, 2005

RAGI combines Asterisk's VoIP handling capabilities with the power and efficiency of Ruby on Rails. Joe Heitzeberg will lead a tutorial using his bindings for Asterisk with the Ruby on Rails framework at the Emerging Telephony conference.

What Is Ruby on Rails, October 13, 2005

Ruby on Rails is an impressive web development framework that will soon reach version 1.0. While there's a lot of buzz, it can sometimes be difficult to discern the steak beneath the sizzle. Curt Hibbs walks through the features and pieces of Ruby on Rails to show how it fits together and where its big benefits come from.

Ruby on Rails: An Interview with David Heinemeier Hansson, August 30, 2005

Few can have missed the rise of the programming world's latest star platform: Ruby on Rails. Rails' creator, David Heinemeier Hansson, already wowed the crowds at this year's OSCON, and is set to keynote the European O'Reilly Open Source Convention in Amsterdam this October. O'Reilly Network talked with him about Rails' success and future.

Ajax on Rails, June 9, 2005

XMLHttpRequest and Ruby on Rails are two hot topics in web development. As you ought to expect by now, they work really well together. Curt Hibbs explains the minimal Ajax you need to know and the minimal Ruby you need to write to Ajax-ify your Rails applications.

Ruby Articles

Ruby Behavior Driven Development Series

Behavior Driven Development Using Ruby (Part 1), August 9, 2007

You've heard of Test Driven Development. You may have even heard of Model Driven Development. But now, get ready to learn Behavior Driven Development, a methodology all about making sure that your code produces the right end results, rather than just executing correctly. Gregory Brown starts us on our way by showing us how to use RSpec in Ruby.

Behavior Driven Development Using Ruby (Part 2), August 30, 2007

Gregory Brown introduced us to the basic idea of behavior-driven development in the first article in this series. Now, he takes it from abstract to concrete by showing us how to build behavior-driven development into an actual Ruby application.

Behavior Driven Development Using Ruby (Part 3), September 20, 2007

Gregory Brown has been testing the heck out of his dots and lines game! In the last portion of his dive into behavior driven development, he looks at custom matchers and introduces us to RCov, a coverage visualizer.

Miscellaneous Ruby Articles

How to Build Simple Console Apps with Ruby and ActiveRecord, June 21, 2007

When we talk about databases and Ruby, we're almost always talking about ActiveRecord and Rails. But it is quite possible to use ActiveRecord without the Rails scaffolding at all. Gregory Brown shows you how.

Replacing AppleScript with Ruby, February 27, 2007

Matt Neuberg describes how to use rb-appscript to manage Apple events without Applescript. Learn the basics of rb-appscript usage, with example scripts, including a rewrite of the Ruby-AppleScript example from Matt's book AppleScript: The Definitive Guide.

Ruby the Rival, November 16, 2005

Bruce Tate's Beyond Java picks Ruby as the front-runner among languages that could succeed Java among enterprise developers. But what's so great about Ruby; and frankly, what's wrong with Java? We asked some top Java bloggers, authors, and developers what they think of Ruby's challenge.

Extending Ruby with C, November 18, 2004

High-level languages such as Perl, Python, and Ruby are very effective for application development, but linking them to existing C libraries is tedious, isn't it? Not really. As Garrett Rooney demonstrates, writing Ruby bindings for C libraries is easier than you might think.

An Introduction to RubyCocoa, Part 1, October 5, 2004

RubyCocoa is a framework that provides a bridge between the Ruby programming language and the Cocoa framework. In this tutorial, Christopher Roach shows you how to use this tool by walking you through the steps for creating a simple GUI for the Unix tar program

An Introduction to RubyCocoa, Part 2, October 12, 2004

In Part 1 of this two-part series, Christopher Roach provided some background and helped you get started with RubyCocoa programming. In this conclusion, he gets into the actual code; and if you're following along, you'll end up with a functioning application.

Exploring E4X with Ruby, August 12, 2004

XML processing with SAX can be tricky, and is painful in the DOM. The new E4X approach can make processing XML much easier. Jack Herrington explores E4X and demonstrates a simple port to the Ruby programming language.

Ruby/Tk Primer: Creating a cron GUI Interface with Ruby/Tk, June 25, 2004

In this first installment of a three-part series, Chris Roach shows you how to use Ruby and Tk on Mac OS X. This tutorial creates a program that will act as a GUI-based front end to the cron daemon.

Ruby/Tk Primer, Part 2, July 23, 2004

In Part 1 of this series, Chris Roach introduced you to programming basics in Ruby and, in the process, created the backend for the GUI we're working on. Here, he spends some time with the Tk library.

Ruby/Tk Primer, Part 3, July 27, 2004

In Part 2 of this series, Chris Roach spent some time with the Tk library. Now in this final installment, he pulls together all of the pieces so you can finish your demo application.

Ruby's Present and Future, December 18, 2003

Ruby's been around for ten years and continues to grow in popularity and usage. What's next for the language? That's just one of the questions answered at the 2003 Ruby Conference. Mike Stok was there. He covers all three days of the conference.

Building Unix Tools with Ruby, September 18, 2003

Unix command line tools should follow a few simple rules. They must do one thing well. They should conform to standard option conventions. They must be able to be part of a pipeline. Jacek Artymiak demonstrates a simple Unix CSV-parsing utility built in the Ruby programming language.

Read iCal Data with Ruby, September 3, 2003

Apple doesn't provide any APIs to read iCal's data, but you can do it yourself. This article presents a Ruby module to read iCal data and use in your own Ruby applications, including complete Cocoa applications written with RubyCocoa. In addition you'll learn how to read iCal data in any programming language you desire.

An Interview with the Creator of Ruby, November 29, 2001

An interview with Yukihiro "Matz" Matsumoto, the creator of Ruby. Matz talks about Ruby's history, its future, and his new book, Ruby in a Nutshell.

An Introduction to Ruby, October 25, 2001

Ruby is two parts Perl, one part Python, and one part Smalltalk. So says Colin Steele, a developer who is smitten with this "diamond in the rough" of scripting languages.

Return to Ruby on Rails articles or Ruby articles.