VentureCraft/revisionable — pull request #51 by trizz (2014-04-02 13:24:21+00:00)
Title: Get user id by primary key name

If your `User` model has a different primary key (other than `id`), Revisionable wouldn't store that identifier. I've changed the `getUserId` function to look at the primary key, instead of assuming field `id` is the correct user id (and thus returned `null` if the field name isn't `id`).