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.

Lar Van Der Jagt's latest activity

Wednesday, October 22 2008
1219 new_record? returns nil on records retrieved from database was updated in Ruby on Rails
  • Lar Van Der Jagt
    • Title changed from new_record? not set when using joins to new_record? returns nil on records retrieved from database
    by Lar Van Der Jagt at 9:42 PM
  • Lar Van Der Jagt
    Lar Van Der Jagt commented at 9:39 PM

    This bit me as well. After discussing with Steve it seems that 'new_record?' only works as expected with records which have just been instantiated. If you retri...