registration question?

I am new to Ruby. I am working on a registration application. Everything is working except I can not figure out how (or if it is even possible) to prevent attendees from registering for concurrent events. If anyone could point in the the right direction it would be great.