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.

John Henderson's latest activity

Tuesday, June 29 2010
5003 default_scope prevents a rake db:migrate if attributes in DB don't exist was created in Ruby on Rails
  • John Henderson
    John Henderson created the ticket at 12:31 PM

    Rails version 3 beta 4

    I just discovered that if I declared the following in the User model for example:

    default_scope :conditions => { :cancelled_at => nil }
    
    ...