This is a somewhat unconventional use of `&&` and `||` -- this version might be easier to follow:

```
category = (params[:category].empty? ? "Uncategorized" : params[:category])
```

In Rails we have a method called `presence` that gives us a useful shortcut:

```
category = params[:category].presence || "Uncategorized"
```