fix undefined method `get_rank_name` in view