added view#get_request_method helper