Make Rails 4 compatible.

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