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.

John Firebaugh's latest activity

Wednesday, November 24 2010
2873 Application reloading should be deferred to end of request, currently interfe... was updated in Ruby on Rails
  • John Firebaugh
    John Firebaugh commented at 4:32 AM

    BTW, I've been assuming there's some reason that reloading happens after each request, rather than via ActionDispatch::Callbacks.to_prepare (i.e. before each re...

  • John Firebaugh
    John Firebaugh commented at 4:26 AM

    Here's my current patch:

    https://github.com/bigfix/rails/tree/2873

    It causes several failures in the railties isolation tests that I'm not sure how to fix. Some...

  • John Firebaugh
    John Firebaugh commented at 4:19 AM

    I'm thinking the lock synchronization should be handled by Rack::Lock, which is included in the stack unless config.allow_concurrency. Unfortunately, it unlocks...

Sunday, November 21 2010
2873 Application reloading should be deferred to end of request, currently interfe... was updated in Ruby on Rails
  • John Firebaugh
    John Firebaugh commented at 9:25 PM

    I've been investigating this and wanted to give a status update.

    Hongli's patch was applied to the 2.3 branch and (AFAICT) not reverted; it was included in 2.3....

Friday, October 29 2010
5890 ShowExceptions serves text/html even to XHR requests that don't accept it was created in Ruby on Rails
  • John Firebaugh
    John Firebaugh created the ticket at 11:51 PM

    The ActionDispatch::ShowExceptions middleware renders an HTML template without checking whether it's responding to XHR and the client accepts text/html.

    Instead...

Tuesday, August 24 2010
5444 rescue_action_in_public! no longer works was created in Ruby on Rails
  • John Firebaugh
    John Firebaugh created the ticket at 4:11 PM

    Since the middleware stack is not present in controller tests, the ShowExceptions middleware cannot translate exceptions such as ActiveRecord::RecordNotFound in...

Thursday, August 12 2010
5366 ActiveModel::Name#human modifies options destructively was updated in Ruby on Rails
  • John Firebaugh
    • Tag changed from rails3 to activemodel, patch, rails3
    by John Firebaugh at 7:49 PM
  • John Firebaugh
    John Firebaugh created the ticket at 7:47 PM

    It uses #delete and #reverse_merge! on the passed options hash.

    Patch with tests incoming.

5361 ActionController::Base#local_request? removed was updated in Ruby on Rails
  • John Firebaugh
    John Firebaugh commented at 2:25 AM

    $ rails new info_controller

    InfoController::Application.routes.draw do
      match '/info', :to => 'rails/info#properties'
    end
    

    $ rails server -e production

    http:/...

  • John Firebaugh
    John Firebaugh created the ticket at 2:20 AM

    In Rails 3, it was moved to the ShowExceptions middleware, and is no longer available in a controller context. Was it considered a public API in Rails 2? I was ...