Hi folks, i'm new to haml and can't get the select_tag working. I adapted the following from an example but I can't get it to work. The form has many text fields and checkboxes working. The variable is :alertFrequency, database type string. i'm using rails 4. Any assistance appreciated.
= simple_form_for @alert do |f|
.field
= f.label "Alert Frequency"
= select_tag :alertFrequency, options_for_select([["daily", "daily"], ["weekly", "weekly"], ["14 days","14days"], ["30 days","30days"],["immediate", "immediate"],["off","off"]], params[:alertFrequency])