for rails 4, the match must have specified HTTP method