Revert "Upgrate rails 4"