Help with Form selection lists

The code below gives me a regular form but what if I wanted to have a
drop down list with several options?

Query Type

<%= text_field ‘query’, ‘query_type’ %>

I know the syntax is as follows:

form.select(:attribute, choices, options)

but what is the :attribute??