use explicit http method for rails 4 compatibility