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.

Justin George's latest activity

Thursday, October 29 2009
3442 Bignum IDs crash association destroy was updated in Ruby on Rails
  • Justin George
    • Tag changed from activerecord, associations, bignum, destroy, fixnum to 2.3.4, activerecord, associations, bignum, destroy, fixnum
    by Justin George at 10:33 PM

    Working on getting a test for this, it's difficult to create bignums from scratch across all the different databases.

  • Justin George
    Justin George created the ticket at 10:28 PM

    Foo.new(:id => 777777777777777777, :bar_id => 1).save!

    Bar.find(1).foos.destroy(777777777777777777) # raises error here, expected Foo(id, bar_id), got Bignum
    

    ...