<div id="RTEContent">&nbsp;I am using acts_as_taggable and everything seems to be working except that <br>  <br>   :condition =&gt; "tags_resources.portal_id=#{portal_id}"<br>  <br>  is not being applied.<br>  <br>  &nbsp;&nbsp;&nbsp; @resource_pages = Paginator.new self,  Resource.find_tagged_with(:any =&gt; tag, :condition =&gt;  "tags_resources.portal_id=#{portal_id}").length, 25, @params['page']; <br>  &nbsp;&nbsp;&nbsp; @resources = Resource.find_tagged_with( :any =&gt;  tag, :condition =&gt; "tags_resources.portal_id=#{portal_id}",  :separator=&gt; ' ',<br>  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; :limit =&gt;  "#{@resource_pages.current.to_sql[1]},  #{@resource_pages.current.to_sql[0]}");<br>  <br>  I have two Active Record classes, Resource and Tag.<br>  <br>  Can anyone please tell what am I missing here?<br>  <br>  Many thanks in advance.<br>  Frank<br>  </div><p>
                <hr size=1> <BR> 
What are the most popular cars? Find out at <a href="http://us.rd.yahoo.com/evt=38382/_ylc=X3oDMTEzNWFva2Y2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMmF1dG9z/*http://autos.yahoo.com/newcars/popular/thisweek.html 
">Yahoo! Autos</a>