bear-metal/activerecord-postgis-adapter — pull request #1 by afn (2014-09-11 16:57:41+00:00)
Title: Calling MyModel.new in Rails 4.2 was setting the primary key to 0 rather than nil

In Rails 4.2, the PostgreSQLColumn initializer takes two parameters, `default_value` and `default_function`, rather than the raw `default`.