Rails 4

Update to Rails 4
- Update Digest.new to not raise warning.

https://jira.backupify.com/browse/CORE-3773