Upgrading to hydra-head 6.4 and Rails 4