Update rails
Update all matches in test to use :get and :post, and change 'root' to 'match' as rails 4 roots don't accept POST