title: Laravel 3 Validation of a single input form
body: <p>I am using spectacular Laravel Framework but i have a validation issue that i cannot solve in any way trying to validate a single email field.</p>
  
  <p>My form input is:</p>
  
  <pre><code>{{ Form::email('email', Input::old('email'), array('id' =&gt; 'email', 'class' =&gt; 'span4', 'placeholder' =&gt; Lang::line('newsletter.email')-&gt;get($lang), 'novalidate' =&gt; 'novalidate')) }}
  </code></pre>
  
  <p>My controller </p>
  
  <pre><code>public function post_newsletter() {
  
      $email = Input::get('email');
  
      $v = Newsletter::validator($email, Newsletter::$rules);
  
      if($v !== true)
      { ... }
      else 
      { ... }
  }
  </code></pre>
  
  <p>and my model</p>
  
  <pre><code>class Newsletter extends Eloquent {
  
  /**
   * Newsletter validation rules
   */
  public static $rules = array(
      'email' =&gt; 'required|email|unique:newsletters'
  );
  
  /**
   * Input validation
   */
  public static function validator($attributes, $rules) {
      $v = Validator::make($attributes, $rules);
  
      return $v-&gt;fails() ? $v : true;
  }
  }
  </code></pre>
  
  <p>I ve done this so many times with success with much complicated forms but now even if i enter a valid email i get an error message about required fied etc Am I missing something? Maybe is the fact that i try to validate just one single field? I really don't get it why this happens.</p>