title: FuelPHP - Loading Models
body: <p>this is most likely a simple answer that i have overlooked..</p>
  
  <p>I am trying to create a customer controller that accesses a custom model in FuelPHP as follows:</p>
  
  <pre><code>class Controller_Casting extends Controller
  {
     public function action_index()
     {
        Model_casting::author_get();
     }
  }
  
  class Model_casting
  {
     ## --------------------
     public function author_get()
     {
        $query = DB::query('SELECT * FROM youtube_author');
        $result = $query-&gt;execute(); 
        print_r($result);     
     }   
  }
  </code></pre>
  
  <p>An error is generated by the controller:</p>
  
  <pre><code>ErrorException [ Error ]: Class 'Model_casting' not found
  </code></pre>
  
  <p>In code igniter i would have to load the model before using it.. How do you do the same thing in FuelPHP (which i presume is where the issue lies).. </p>
  
  <p>Thanks,</p>