title: How to set html_options for a 'select' helper in Ruby on Rails?
body: <p>I have the next code to display my countries table in a select box:</p>
  
  <pre>
  <code>
  f.select("country_id",  Country.all.collect {|p| [ p.name, p.id ] }, {:include_blank => 'Select a Country'})
  </code>
  </pre>
  
  <p>and i want to set an 'onchange' action when a country es selected...
  I've tried:</p>
  
  <pre>
  <code>
  f.select("country_id",  Country.all.collect {|p| [ p.name, p.id ] }, {:include_blank => 'Select a Country',:onchange=>"alert('foo')"})
  </code>
  </pre>
  
  <p>but nothing happens....</p>
  
  <p>any help on this?</p>
  
  <p>Thanks.
  Mr. Nizzle</p>