added better ruby & rails support