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.

Jay's latest activity

Thursday, February 03 2011
6368 Object.exists?(nil) returned true in Rails 3.0.3, false in Rails < 3 was updated in Ruby on Rails
  • Jay
    Jay commented at 8:08 PM

    Yep, it is.

  • Jay
    Jay created the ticket at 6:03 PM

    in Rails 3.0.3

    ruby-1.9.2-p0 > Collection.exists?(nil)
    => true

    in Rails 2.3.5

    ruby-1.8.7-p249 > Collection.exists?(nil)
    => false

    Expected behavior: same as Rail...

Monday, January 31 2011
6348 joins uses association name, where uses table name was created in Ruby on Rails
  • Jay
    Jay created the ticket at 12:31 AM

    This does not work (uses association name in both joins and where - this is the expected behavior):
       shipping_info_query = ProductExtra.joins(:field).where(:p...