Check out the Rails API API. Form API
select(object, method, choices, options = {}, html_options = {})
Added :disabled => "disabled" to the parameters instead of html_options. Instead, the code is used (note the empty hash for the options parameter):
builder.select(:completed, qualification.level_options.map{|o| [o,o]}, {}, {:disabled => "disabled"})
source share