Fixed ruby syntax issue