Welcome to Ruby on Rails




 

Suggested Podcasts on Ruby on Rails

Podcasts I find especially useful to keep up-to-date with Ruby on Rails developments.

| Posted on August 12th | 0 comments | View full article
Filed Under: Ruby on Rails

 

Model Translation: Globalizing a Ruby on Rails Application by Adding Multilingual Support to the Models through Globalize's External Table or the Internal Storage Mechanism

Using the globalize plug-in for Ruby on Rails out-of-the-box makes it easy to add support for various languages. It can handle the management of translated terms and translation of models (displaying the content coming from the database in the selected language). This article gives a brief introduction about to how to implement model translation with globalize in an actual application.

| Posted on December 17th | 4 comments | View full article
Filed Under: Ruby on Rails

 

Rendering Templates with Extensions such as rxml with theme_support: "Template is missing" and "No rhtml, rxml, or delegate template found for ..." Errors

The rails' plugin theme_support is a great way to allow customized stylesheets, javascripts, images, layouts, and views to your app. Unfortunately, as it is currently built now, it has a short-coming: it doesn't allow for specifying routes with extensions! In this article I will propose a correction which provides the plugin with a performance boost as an added plus.

| Posted on December 3rd | 2 comments | View full article
Filed Under: Ruby on Rails

 

View Translation: Globalizing a Ruby on Rails Application by Adding Multilingual Support to the Views

Using the globalize plug-in for Ruby on Rails out-of-the-box makes it easy to add support for various languages. It can handle the management of translated terms and translation of views (displaying the messages on each page in the selected language). This article gives a brief introduction about to how to implement view translation with globalize in an actual application.

| Posted on November 15th | 0 comments | View full article
Filed Under: Ruby on Rails

 

Adding Theme Support to a Ruby on Rails Application

Suppose that your Ruby on Rails application is a generic one designed to be run customized to the look and feel of each of your client's taste. You can easily make it run in several places, each instance with its own customized stylesheets, javascripts, images, layouts, and views by adding theme support to it. In this article I will show you how.

| Posted on November 4th | 3 comments | View full article
Filed Under: Ruby on Rails

 

Building a RESTful Ruby on Rails Application from the Ground up with a Site-wide Layout

In the following introductory article, I will build a stripped-down application to store a basic social graph for a person (a very fashionable subject nowadays). The steps to building the application will illustrate how to create a Rails application, configure it to connect to a MySQL database, generate resource scaffolding, use database migrations, and associate models. It will serve as a basis for later articles to illustrate more complex aspects of Rails development.

| Posted on October 27th | 4 comments | View full article
Filed Under: Ruby on Rails

 

Introduction to AJAX in Ruby on Rails

The following article introduces how to add AJAX support to Ruby on Rails applications.

| Posted on February 21st | 0 comments | View full article
Filed Under: Ruby on Rails

 

Introduction to Active Support in Ruby on Rails

The following article goes further into the ActiveRecord usage and introduces ActiveSupport.

| Posted on February 21st | 0 comments | View full article
Filed Under: Ruby on Rails

 

Active Record Associations and Validations with Resouce Mapping in Ruby on Rails

The following article describes how model validation and association within Rails following resource mapping. I also briefly describe how to automatically annotate models and generate rails documentation.

| Posted on February 19th | 4 comments | View full article
Filed Under: Ruby on Rails

 

RESTful Controllers in Ruby on Rails

The following article describes how to create the basic operations of create, read, update, and destroy on a simple table using RESTful resource scaffolding.

| Posted on February 18th | 2 comments | View full article
Filed Under: Ruby on Rails