title: Ruby remove everything after first space
body: <pre><code>&lt;%= @contact.foo_help %&gt;
  </code></pre>
  
  <p>Outputs a number id and title (with a space between them), ex: 29292 This Is A Title.  I just want the number.  It won't always be the same amount of digits, and ocassionly I use numbers in my titles.  </p>
  
  <p>I was thinking the easiest way would be to gsub everything after the first space out, but I'm two weaks into this framework and can't get the synstax right! Please help</p>
  
  <pre><code>&lt;%= @contact.foo_help.gsub( \s ' ')  %&gt;
  </code></pre>