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.

Russell Garner's latest activity

Wednesday, February 16 2011
6441 polymorphic :dependent => :delete_all fails to delete rows with abstract_clas... was updated in Ruby on Rails
  • Russell Garner
    Russell Garner commented at 11:20 AM

    (oops - abstract_class is not involved here - the title should read STI. Sorry!)

  • Russell Garner
    Russell Garner created the ticket at 11:03 AM

    If I have a class hierarchy ContactIndex < Index, GuideIndex < Index, where Index is

      class Index < ActiveRecord::Base
        has_many :links, :as => :link_owner...
Monday, January 31 2011
6233 habtm join requires an active connection was updated in Ruby on Rails
  • Russell Garner
    Russell Garner commented at 6:02 PM

    Don't know why I mentioned a Railtie there. One is not required...

  • Russell Garner
    Russell Garner commented at 5:57 PM

    Ok, a quick autoload on the offending class also works very well in a Railtie and obviates the need for the above hackery :)

Monday, January 17 2011
6233 habtm join requires an active connection was updated in Ruby on Rails
  • Russell Garner
    Russell Garner commented at 10:58 AM

    Here's my (not very good) workaround:

    after "require "rails/all" in application.rb

      database_yml = File.expand_path('../database.yml', __FILE__)
      if File.exi...
  • Russell Garner
    Russell Garner commented at 10:36 AM

    I'm seeing this too - association declaration below. Is there a recommended workaround?

            has_and_belongs_to_many :related_tags, :class_name => 'Semantic...
Friday, November 19 2010
5991 406 Unacceptable received for something the Accept header has said it can take was updated in Ruby on Rails
  • Russell Garner
    Russell Garner commented at 10:56 AM

    If I found a way to make the above tests pass in addition to everyone else's, would you consider a patch? I'm actually hacking the request.format = :atom in the...

3541 Content Negotiation Regression was updated in Ruby on Rails
Wednesday, November 17 2010
5991 406 Unacceptable received for something the Accept header has said it can take was updated in Ruby on Rails
  • Russell Garner
    Russell Garner commented at 5:51 PM

    Attached 5991_tests.patch to demonstrate.

5991_tests.patch was uploaded by Russell Garner at 5:51 PM to #5991, Ruby on Rails