title: Display first Word in String with Ruby
body: <p>I'm using ruby on rails and I want to display only first word of string.</p>
  
  <p>My broken code: <code>&lt;%= @user.name %&gt;</code> displaying <code>Barack Obama</code>.</p>
  
  <p>I would want to have it display <code>Barack</code> and in other place <code>Obama</code>.</p>
  
  <p>How can I split it and display it?</p>