In this case, I'd probably use the params["user"] syntax. (so many choices)... but I think this might be more readable

```ruby
if params["user"]
  @logs = LogRequest.log_per_user(params.fetch("user"))
else
  @logs = LogRequest.log
end
```

The reason this works, is that if you have a hash, and ask it for a key it does not have, it'll return nil. and nil is falsy, so you can do

```ruby
if nil
  # never executed
else
  puts "hi"
end
```