Make Rails 4 compatible.