visual_effect bug fix in Rails 2.0

I noticed something interesting while enhancing Teascript today. I recently upgraded the app to Rails 2.0 which ended up breaking several of the Scriptaculous visual effects that I had been using to highlight certain parts of the page when things changed. This is how I had called visual_effect in the … Continue reading

Streamlined turns 0.9

The latest and greatest version of Streamlined was released a few weeks ago. Lots of new features and bug fixes are included in this release, including a handy (and fully configurable) breadcrumb trail implemented in part by yours truly. For those who aren’t familiar with it, Streamlined is sort of … Continue reading

No need to check response when testing redirects

Early on in my exploration of Rails, I got into the habit of testing that the response code of an action indicated a redirect. It turns out that this check is entirely unnecessary since assert_redirected_to makes an identical check: def assert_redirected_to(options = {}, message=nil) clean_backtrace do assert_response(:redirect, message) … end … Continue reading

RailsConf ’07 wrap up

Portland is rapidly fading into the distance as I fly back towards Raleigh. I’ve enjoyed the past six days immensely. The Ruby/Rails community continues to surprise me with its passion, dedication, and downright uber-geekiness. The highlight of the conference for me was the time spent between talks and during meals, … Continue reading