Shopify/batman — pull request #442 by loginx (2012-05-29 00:18:47+00:00)
Title: Improve checks for model primaryKey attribute accessor

* Add a check to ensure we can parseInt the pkey value without degrading it
* This resolves issues where the pkey is a string such as '00000' getting parseInt to '0'