This could also have been written as:

```ruby
all_units.all?(&:valid?)
```