```ruby 
AuthSource.find(u.auth_source_id).type != 'AuthSourceHidden' 
```
is easier to read at least for me.