Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Ed4's latest activity

Friday, February 11 2011
6418 Exception Propagation in Integration Tests was created in Ruby on Rails
  • Ed4
    Ed4 created the ticket at 10:27 PM

    In Rails 2.x, you used to be able to do things like this in integration tests:

    
    get "/customers/500"
    assert_response :not_found
    

    This kind of test allows you t...

Friday, February 04 2011
6191 HABTM association is being destroyed before the before_destory callbacks are ... was updated in Ruby on Rails
  • Ed4
    Ed4 commented at 9:09 PM

    Here is a patch to fix this, including a new unit test. There was an existing unit test that actually tests for the wrong behavior (it forces the deletion of as...

  • Ed4
    Ed4 commented at 5:52 PM

    This looks to me like a serious issue, because it's no longer possible to use a before_destroy callback to check for the existence of associated HABTM records. ...