I have an array of attributes that I use for select menus, and thus
validations on those fields when theyre updated.
in my view i have something like:
<% select ‘thing’, ‘stuff’, Thing.stuff_options, :allow_blank => true %>
and in my validations
validates_inclusion_of :stuff, :in => STUFF, :allow_nil => true
The problem being that blank != nil so the validation fails if the user
picks the ‘blank’ select option.