Make Rails 4 compatible (with thanks to @erkki123).

https://github.com/harleyttd/auditable/pull/14