`locals` is a key to the a hash used to passed in extra options when rendering the template.
It's in the format: `erb [template_file], [options_hash]`

I could have easily written the extra curly brackets like so:
`erb :results, { { locals: { books: books } }`