Add layout checking to test_spec_on_rails

test_spec_on_rails is a plugin that adds Rails-specific assertions to test_spec, allowing you to do nifty things like this: it “should render with foo template” do get :some_action template.should.be “foo” # equivalent to assert_equal “foo”, @response.template end it “should display foo on page” do get :some_action page.should.select “p”, “foo” # equivalent … Continue reading

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

Who’s On First?

Here’s a video to celebrate the new year. This is an imitation of the classic Abbott and Costello routine. My brother and I have been doing it for over a decade now. Here’s a version from 4 years ago at the NCHE conference in North Carolina. Enjoy!

MultiRails grows one release older

MultiRails is a plugin that makes it easy to test Rails applications against multiple versions of Rails. Built by the cool guys at this place (mainly Rob Sanheim), MultiRails version 0.0.3 has just been released. Check it out.

UI for acts_as_tree

The current project I’m on requires us to give administrators the ability to modify a tree of models built using acts_as_tree (now a plugin as of Rails 2.0). The acts_as_tree plugin is simple and elegant, but I’ve struggled to find a pre-built UI framework for acts_as_tree that is equally compelling. … Continue reading