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.

Philip Arndt's latest activity

Thursday, June 17 2010
4880 FalseClass should return false on a .presence check not nil was updated in Ruby on Rails
  • Philip Arndt
    Philip Arndt commented at 1:39 AM

    false is a valid instance of the FalseClass and so a false value is in essence present, just like how currently true is returned as a valid instance of the True...

  • Philip Arndt
    • Assigned user cleared.
    by Philip Arndt at 12:02 AM
Wednesday, June 16 2010
4880 FalseClass should return false on a .presence check not nil was created in Ruby on Rails
  • Philip Arndt
    Philip Arndt created the ticket at 11:37 PM

    When you create a variable and set it to false and then use .presence on it, .presence returns nil where it should return false.

    I've attached a patch which sol...