Justin George
Not a member
Justin George's latest activity
Thursday, October 29 2009
3442
Bignum IDs crash association destroy
was updated
in Ruby on Rails
-
- Tag changed from activerecord, associations, bignum, destroy, fixnum to 2.3.4, activerecord, associations, bignum, destroy, fixnum
Working on getting a test for this, it's difficult to create bignums from scratch across all the different databases.
-
Justin George created the ticket at 10:28 PMFoo.new(:id => 777777777777777777, :bar_id => 1).save!
Bar.find(1).foos.destroy(777777777777777777) # raises error here, expected Foo(id, bar_id), got Bignum...