rails injection fix