title: creating name helper, to split first and last names apart
body: <p>I'm looking for some help on how to take an attribute and process it through a method to return something different. But I've never done this before and I' not sure where to start. I thought trying to change a name:string attribute from "George Washington" or "John Quincy Adams" into first names only "George" and "John". </p>
  
  <p>I thought maybe a helper method would be best, such as</p>
  
  <p>users_helper.rb</p>
  
  <pre><code>def first_name
  
  end
  </code></pre>
  
  <p>and then call @user.name.first_name, would this be initially how it would work? Can someone explain where I'd go next to be able to pass @user.name into the method? I've seen things like this but don't quite understand it the parenthesis...</p>
  
  <pre><code>def first_name(name)
    puts name
  end
  </code></pre>
  
  <p>Could someone breakdown how rails/ruby does this type of thing? Thanks a lot!</p>