button_to gotcha

Posted by jeff Mon, 23 Jun 2008 18:38:00 GMT

just a friendly "well, duh" reminder: if button_to is failing you, make sure you're not inside of an existing form. button_to creates its own form and they'll conflict.

fixing a borked rspactor

Posted by jeff Sun, 01 Jun 2008 19:15:00 GMT

Rspactor is broken with newer versions of rspec. You might get this:

  reporter.rb:110:in `example_pending': wrong number of arguments (2 for 3) (ArgumentError)

Oops. The fix is easy as editing the gem's /lib/resulting.rb on line 28 to remove a param.

You can checkout the rspactor lighthouse ticket here