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.

Les Nightingill's latest activity

Saturday, December 12 2009
3521 [PATCH] Add conditional counter cache was updated in Ruby on Rails
  • Les Nightingill
    Les Nightingill commented at 10:48 AM

    Not convinced that the condition pattern is as common as Scott suggests, but I definitely feel that the omission of the counter_cache increment/decrement method...

Monday, April 06 2009
2432 build_association nullifies existing model object in has_one association was created in Ruby on Rails
  • Les Nightingill
    Les Nightingill created the ticket at 8:45 PM

    I have:

    class Student < ActiveRecord::Base

    has_one :language_grade

    end

    class LanguageGrade < ActiveRecord::Base

    belongs_to :student

    end

    I do:

    >> s=Student.creat...