It\'s my code:
<%= f.select :area, options_for_select([[\'a\',\'a\'],[\'b\',\'b\'],[\'c\',\'c\']]), {}, {:class => \'span3 controls controls-row\'}, :selec
Below is what worked for me using f.select with custom names and values including a blank field while using the Ransack search. Thanks to mayorsanmayor's example for getting me started in the right direction. This also works for rails 5.1.7.
<%= f.select(:status_eq, options_for_select([ ["Verified", "verified"], ["Non Verified","notVerified"]], selected: @q.status_eq || nil), {:include_blank => "Select Status"}, {class: 'form-control'}) %>