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.

Spencer Dillard's latest activity

Thursday, January 06 2011
2594 Bug with polymorphic has_one :as pointing to STI record was updated in Ruby on Rails
  • Spencer Dillard
    Spencer Dillard commented at 4:03 PM

    Correction. The code we had was:
    Coverage < ActiveRecord::Base
    has_one :contact, :as => :contactable end
    Contact < ActiveRecord::Base
    belongs_to :contactable, :...

  • Spencer Dillard
    Spencer Dillard commented at 3:59 PM

    We are still seeing this happening on version 3.0.3. We have the following code:

    Coverage < ActiveRecord::Base
    has_one :contact, :as => :contactable end

    Contact...