title: ruby integer to boolean
body: <p>I have a DB field that is integer type and values are always 0 or 1. How do I grab the equivalent boolean value in ruby? such that when i do the following the check box is set appropriately:</p>
  
  <pre><code>&lt;%= check_box_tag 'resend', @system_config.resend %&gt;
  </code></pre>