Jamis Buck, one of the few with commit rights for Ruby on Rails, has posted a Rails tip of the day on his blog. In the blog entry, Jamis explains how the action method continues its execution even after a call to redirect_to or render. To someone with years of experience on Java Servlets, it seems a bit surreal that someone would actually think that the execution stops there. Then again, I do realize that people coming from other technologies than J2EE, for example, might not have ever seen a framework that works this way. Especially since they've probably already been amazed to death a dozen times by everything else in Ruby and/or Rails.
Speaking of which... Little red gems like this still feel like someone was rubbing Ruby on my face, knowing that I'll have to deal with a crappy WebLogic Portal application for the next two weeks:
redirect_to(...) and return







