title: How to remove whitespace from Model attributes?
body: <p>What's the simplest way to make sure models trim leading and trailing white space from string values.</p>
  
  <p>One inconvenient way seems to be a before_save filter -- although for something as common as removing white space from strings, maybe there's some config that does that?</p>