I would change this to

```ruby
system = System.find_by_uuid!(uuid)
```

So that it throws a `ActiveRecord::RecordNotFound`.