Tool to find Rails relative key in controller before_action