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.

Farhad's latest activity

Friday, January 29 2010
3809 default scope not changing when class is unloaded and reloaded was created in Ruby on Rails
  • Farhad
    Farhad created the ticket at 2:12 AM

    Rails 2.3.4

    It seems that the default_scope doesn't change when reloading an object.

    To recreate:

    class Foo < ActiveRecord::Base
     puts "Loading Foo"
     default_s...