clener Rails definition check