Changing search conditions for rubies