Rails ticket query platform