replace 'match' with 'get' because rails 4.1 doesn't like it