Understanding Ruby and Rails: Rescuable and rescue_from
This article targets Rails 2.3 and Rails 3. The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see...
View ArticleUnderstanding Ruby and Rails: Serializing Ruby objects with JSON
This article targets Rails 2.3 and Rails 3. The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see...
View ArticleRuby Proxy Pattern and Dynamic Delegation with ActiveSupport BasicObject
This article targets Rails 2.3 and Rails 3. The information contained in this page might not apply to different versions. This is article is part of my series Understanding Ruby and Rails. Please see...
View ArticleUpgrading Rails 2 application to Rails 3 (screencast)
Last week ThinkCode.TV released my first Ruby on Rails screencast called Upgrading applications to Rails 3. This one hour screencast is a live example of upgrading a real-world application from Rails...
View ArticleUnderstanding the Unobtrusive JavaScript technique
I was writing an article about the Unobtrusive JavaScript in Rails 3 when I realized the UJS section was becoming large enough to deserve a separate post. So here’s my Unobtrusive JavaScript for...
View ArticleUnobtrusive JavaScript in Rails 3
This article targets Rails 3 The article was written as of Rails 3.0. The information contained in this page might not apply to different versions. One of the biggest changes on the frontend side of...
View ArticleThe Road to Rails 3: make your Rails 2.3 project more Rails 3 oriented
Update 2010-08-10: added ActiveRecord::Base#add_to_base section With the first Rails 3 Release Candidate available in a few days and the final version just around the corner, it’s time to start...
View ArticleUpgrading to Rails 3: You are using the old router DSL which will be removed...
You upgraded your Rails 2 application to Rails 3, you changed all the routes to match the new Rails 3 syntax, but Rails is still throwing the following deprecation message. DEPRECATION WARNING: You are...
View ArticleUpgrading to Rails 3: Beware of the Object#tap pattern
The advent of Object#returning first, and Object#tap consequently, quickly lead to a very common and elegant pattern in the Rails community to scope a variable to a block in your template code. Here’s...
View ArticleConfiguring Rails 3 to use HTTPS and SSL
This article targets Rails 3 and Rails 3.1. The information contained in this page might not apply to different versions. There are several ways to force your Rails application to use SSL and the...
View Article