<div id="RTEContent"><br>Thanks Gerret, for saving the day.<br>  <br>  At taggable.rubyforge.org, I was following this example:<br>  <pre>Person.find_tagged_with(:any =&gt; 'wine', :condition =&gt; "tags_people.created_by_id = 1 AND tags_people.position = 1")<br><br></pre>  Cheers<br>  <br>  Frank<br><b><i>Gerret Apelt &lt;gerret.apelt@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  I believe it should be :conditions plural, no :condition singular.<br><br>cheers<br>Gerret<br><br>On 1/30/06, softwareengineer 99 <softwareengineer99 @yahoo.com=""> wrote:<br>&gt;  I am using acts_as_taggable and everything seems to be working except that<br>&gt;<br>&gt;  :condition =&gt; "tags_resources.portal_id=#{portal_id}"<br>&gt;<br>&gt;  is not being applied.<br>&gt;<br>&gt;      @resource_pages = Paginator.new self, Resource.find_tagged_with(:any =&gt;<br>&gt; tag, :condition =&gt;<br>&gt;
 "tags_resources.portal_id=#{portal_id}").length, 25,<br>&gt; @params['page'];<br>&gt;      @resources = Resource.find_tagged_with( :any =&gt; tag, :condition =&gt;<br>&gt; "tags_resources.portal_id=#{portal_id}", :separator=&gt; ' ',<br>&gt;          :limit =&gt; "#{@resource_pages.current.to_sql[1]},<br>&gt; #{@resource_pages.current.to_sql[0]}");<br>&gt;<br>&gt;  I have two Active Record classes, Resource and Tag.<br>&gt;<br>&gt;  Can anyone please tell what am I missing here?<br>&gt;<br>&gt;  Many thanks in advance.<br>&gt;  Frank<br>&gt;<br>&gt;<br>&gt;  ________________________________<br>&gt;<br>&gt;  What are the most popular cars? Find out at Yahoo! Autos<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Rails mailing list<br>&gt; Rails@lists.rubyonrails.org<br>&gt; http://lists.rubyonrails.org/mailman/listinfo/rails<br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>Rails mailing
 list<br>Rails@lists.rubyonrails.org<br>http://lists.rubyonrails.org/mailman/listinfo/rails<br></softwareengineer99></blockquote><br></div><p>
        
                <hr size=1> <a href="http://us.rd.yahoo.com/evt=38381/ ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html ">Yahoo! Autos</a>. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.