title: Yii Framework: Specifying defaultScheme in URL Validator
body: <p>I'm sure this is straightforward, but I can't figure it out. I'm trying to set a <a href="http://www.yiiframework.com/doc/api/1.1/CUrlValidator#defaultScheme-detail" rel="noreferrer">defaultScheme</a> to the Yii URL validator in my model, so that it accepts addresses like www.something.com as well as <a href="http://www.something.com" rel="noreferrer">http://www.something.com</a>.</p>
  
  <p>To do this, I'm using the following code:</p>
  
  <pre><code>...
  array('website', 'url', 'defaultScheme' =&gt; 'http://'),
  ...
  </code></pre>
  
  <p>This doesn't seem to be working, and I still get an "Website is not a valid URL" error when trying to update. What am I doing wrong?</p>