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.

ogryb's latest activity

Tuesday, October 07 2008
336 missing SomeModel#id after reset_subclasses was updated in Ruby on Rails
  • ogryb
    ogryb commented at 9:59 PM

    I've changed undef_method to remove_method, but it didn't help - I'm still getting NoMethodError for the methods that are defined in class B.

    Any other ideas?

Monday, October 06 2008
336 missing SomeModel#id after reset_subclasses was updated in Ruby on Rails
  • ogryb
    • Tag changed from 2.0-stable, activerecord, bug, edge, patch to 2.0-stable, activerecord, bug, edge, patch
    by ogryb at 4:56 AM

    I'm having a bigger problem with 'reset_subclasses' in the following scenario:

    1. Class A is derived from ActiveRecord
    2. Class B is derived from A

    Class B looks OK...