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.

There was a problem

You must be a member of this account.

Brian Johnson's latest activity

Monday, February 02 2009
1633 has_many with :primary_key option bug was updated in Ruby on Rails
1756 has_one with :foreign_key & :primary_key bug was updated in Ruby on Rails
  • Brian Johnson
    Brian Johnson commented at 8:39 PM

    Ok, here is the fix including tests from graeme

    http://github.com/johnsbrn/rails...

  • Brian Johnson
    Brian Johnson commented at 7:39 AM

    ok, should be

    associations.rb

    @@@ def has_one(association_id, options = {})

        if options[:through]
          reflection = create_has_one_through_reflection(assoc...
  • Brian Johnson
    Brian Johnson commented at 6:19 AM

    I just ran into this same bug and this patch is incomplete. I will generate work on a test case and patch.

Friday, December 26 2008
1636 RackResponse 304 output not compatible with XMLHTTPRequest spec was updated in Ruby on Rails
  • Brian Johnson
    Brian Johnson commented at 11:55 PM

    Seems to also be a problem with CgiResponse. If I do something like this

    render :text => "null", :status => :not_modified, :content_type => 'text/plain'

    it stil...

  • Brian Johnson
    Brian Johnson created the ticket at 2:29 AM

    This is the relevant section:

    The XML response entity body is either a Document representing the response entity body or null. The XML response entity body is t...

Saturday, August 16 2008
846 write_fragment should return content when caching is disabled was updated in Ruby on Rails
  • Brian Johnson
    Brian Johnson commented at 5:49 PM

    sorry about the formatting, but no way to fix it now

  • Brian Johnson
    Brian Johnson created the ticket at 5:48 PM
    
         def write_fragment(key, content, options = nil)
             return unless cache_configured?
    
             key = fragment_cache_key(key)
    
             self.class.benc...