Compared with non class/module error
<p>I'm trying to limit the number of albums a user can create by only showing a link to a new album if the number of albums is greater than 3. The error I am getting says 'compared with non class/module'</p>

<pre><code>&lt;% if @albums &lt; 3 %&gt;

     &lt;div class="all-albums" id="position-albums"&gt;
        &lt;%= link_to 'New Album', "/albums/new", :style =&gt; "text-decoration:none; color:black; font-size: 20px;" %&gt;
        &lt;div class="plus-sign"&gt;
            &lt;%= link_to '+', "/albums/new", :style =&gt; "text-decoration:none; color:black; font-size:80px; color:#85adad;" %&gt;
        &lt;/div&gt;
     &lt;/div&gt;

&lt;% end %&gt;
</code></pre>