Calling MyModel.new in Rails 4.2 was setting the primary key to 0 rather than nil
Merge pull request #1 from amitree/master

Calling MyModel.new in Rails 4.2 was setting the primary key to 0 rather than nil