Rebuilding vimbits on Rails 4 (and fixing a lot of mistakes from the original)