title: Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation from model call by not view in Laravel 4
body: <p>I have a model, Ability, which  belongs to another model AbilityType.  </p>
  
  <pre><code>    &lt;?php
  class Ability extends Eloquent {
  
      public function abilityType() {
          return $this-&gt;belongsTo('AbilityType');
      }
  
      public function name() {
          return $this-&gt;abilityType-&gt;name;
      }
  }
  </code></pre>
  
  <p>I can make this call in my blade template successfully:</p>
  
  <pre><code>$ability-&gt;abilityType-&gt;name
  </code></pre>
  
  <p>But when I make that same call in my Ability model, it throws an exception:</p>
  
  <pre><code>ErrorException Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation
  </code></pre>
  
  <p>Do the dynamic properties differ in behavior between view and model layer?  What am I missing here?</p>