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.

Kieran's latest activity

Friday, September 19 2008
1075 gotcha with activerecord computed boolean attributes was updated in Ruby on Rails
  • Kieran
    Kieran commented at 3:26 PM

    Note this was discovered using postgresql 8.3.3

  • Kieran
    Kieran created the ticket at 3:25 PM

    If you use find_by_sql and include a calculated boolean column e.g. p = Person.find_by_sql('select *,age < 25 as young_person from people') then do p[0].young_p...