The naming convention was good
``` ruby
# When you get all the records
@categories = Category.all
# 1 single record
@categories = Category.find(params[:id])
```