Rails 4

Upgrade gem to be compatible with Rails 4

https://jira.backupify.com/browse/CORE-3773
Are all of these changes related to this indentation change?