Drop down lists

What’s the ActionView method to use for a simple Yes/No dropdownlist
and how do I check if the user selected yes, then yes=1 and no=nil?