For EU flights especially you still check passports at the gate - indeed it's the only place they are checked.
For other flights they normally check visas at the checkin desk, but if you're transferring you usually get visa checked at the gate. Most people have nice simple visas that pretty much anyone can check, a few troublemakers like me rely on more complex timatic rules (say TWOV in Beijing on multiple tickets), but no reason that can't be checked at gate either.