<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">192</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2008-05-22T00:04:27+02:00</created-at>
  <creator-id type="integer">15459</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">223</number>
  <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
  <priority type="integer">89</priority>
  <project-id type="integer">17958</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>hold</state>
  <tag>bug will_paginate</tag>
  <title>Infinite loop in will_paginate with has_many :through</title>
  <updated-at type="datetime">2008-10-07T13:20:01+02:00</updated-at>
  <user-id type="integer">192</user-id>
  <user-name>Mislav</user-name>
  <creator-name>Nate Wiger</creator-name>
  <assigned-user-name>Mislav</assigned-user-name>
  <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
  <original-body>We are having the infinite loop with will_paginate as well. This happens with the following set of associations:

@@@ ruby
   class LobbyChannel &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :players, :through =&gt; :lobby_channel_players
   end

   class LobbyChannelPlayer &lt; ActiveRecord::Base
     belongs_to :lobby_channel
     belongs_to :player
   end

   class Player &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :lobby_channels, :through =&gt; :lobby_channel_players
   end
@@@

The find that triggers it is:

@@@ ruby
    lobby_channel = find(channel_id, :include =&gt; [ :players ])
@@@

If we leave off the :include, then the issue is not triggered.

The bug we see is Mongrel shoots to 100% CPU in an infinite loop.  When you kill the thread, you get this call stack (ignore the &quot;Error reference&quot;, that's something our app adds):

@@@
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:221:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
@@@

Please let me know if I can help testing this in any way.

Thanks,
Nate</original-body>
  <latest-body>We are having the infinite loop with will_paginate as well. This happens with the following set of associations:

@@@ ruby
   class LobbyChannel &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :players, :through =&gt; :lobby_channel_players
   end

   class LobbyChannelPlayer &lt; ActiveRecord::Base
     belongs_to :lobby_channel
     belongs_to :player
   end

   class Player &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :lobby_channels, :through =&gt; :lobby_channel_players
   end
@@@

The find that triggers it is:

@@@ ruby
    lobby_channel = find(channel_id, :include =&gt; [ :players ])
@@@

If we leave off the :include, then the issue is not triggered.

The bug we see is Mongrel shoots to 100% CPU in an infinite loop.  When you kill the thread, you get this call stack (ignore the &quot;Error reference&quot;, that's something our app adds):

@@@
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:221:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
@@@

Please let me know if I can help testing this in any way.

Thanks,
Nate</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;
We are having the infinite loop with will_paginate as well. This happens with the following set of associations:
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;   class LobbyChannel &amp;lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :players, :through =&amp;gt; :lobby_channel_players
   end

   class LobbyChannelPlayer &amp;lt; ActiveRecord::Base
     belongs_to :lobby_channel
     belongs_to :player
   end

   class Player &amp;lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :lobby_channels, :through =&amp;gt; :lobby_channel_players
   end&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
The find that triggers it is:
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;    lobby_channel = find(channel_id, :include =&amp;gt; [ :players ])&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
If we leave off the :include, then the issue is not triggered.
&lt;/p&gt;&lt;p&gt;
The bug we see is Mongrel shoots to 100% CPU in an infinite loop.  When you kill the thread, you get this call stack (ignore the &quot;Error reference&quot;, that's something our app adds):
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;&quot;&gt;[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:221:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
Please let me know if I can help testing this in any way.
&lt;/p&gt;&lt;p&gt;
Thanks,
&lt;/p&gt;&lt;p&gt;
Nate
&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">51</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>We are having the infinite loop with will_paginate as well. This happens with the following set of associations:

@@@ ruby
   class LobbyChannel &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :players, :through =&gt; :lobby_channel_players
   end

   class LobbyChannelPlayer &lt; ActiveRecord::Base
     belongs_to :lobby_channel
     belongs_to :player
   end

   class Player &lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :lobby_channels, :through =&gt; :lobby_channel_players
   end
@@@

The find that triggers it is:

@@@ ruby
    lobby_channel = find(channel_id, :include =&gt; [ :players ])
@@@

If we leave off the :include, then the issue is not triggered.

The bug we see is Mongrel shoots to 100% CPU in an infinite loop.  When you kill the thread, you get this call stack (ignore the &quot;Error reference&quot;, that's something our app adds):

@@@
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:221:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
@@@

Please let me know if I can help testing this in any way.

Thanks,
Nate</body>
      <body-html>&lt;div&gt;&lt;p&gt;
We are having the infinite loop with will_paginate as well. This happens with the following set of associations:
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;   class LobbyChannel &amp;lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :players, :through =&amp;gt; :lobby_channel_players
   end

   class LobbyChannelPlayer &amp;lt; ActiveRecord::Base
     belongs_to :lobby_channel
     belongs_to :player
   end

   class Player &amp;lt; ActiveRecord::Base
     has_many :lobby_channel_players
     has_many :lobby_channels, :through =&amp;gt; :lobby_channel_players
   end&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
The find that triggers it is:
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;ruby&quot;&gt;    lobby_channel = find(channel_id, :include =&amp;gt; [ :players ])&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
If we leave off the :include, then the issue is not triggered.
&lt;/p&gt;&lt;p&gt;
The bug we see is Mongrel shoots to 100% CPU in an infinite loop.  When you kill the thread, you get this call stack (ignore the &quot;Error reference&quot;, that's something our app adds):
&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;&quot;&gt;[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:221:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'
[Error reference: 1211400279]     vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
[Error reference: 1211400279]     /usr/sdod-rails2/lib/ruby/gems/1.8/gems/activerecord-2.0.2.9216/lib/active_record/associations/has_many_through_association.rb:138:in `method_missing_without_paginate'&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
Please let me know if I can help testing this in any way.
&lt;/p&gt;&lt;p&gt;
Thanks,
&lt;/p&gt;&lt;p&gt;
Nate
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-05-22T00:04:27+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-05-22T00:04:27+02:00</updated-at>
      <user-id type="integer">15459</user-id>
      <user-name>Nate Wiger</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Chris Wanstrath</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">51</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>*CORRECTION*: I was mistaken. Leaving off the :include _does not_ affect the problem in any way.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
*CORRECTION*: I was mistaken. Leaving off the :include &lt;em&gt;does not&lt;/em&gt; affect the problem in any way.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-05-22T00:06:55+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>new</state>
      <tag nil="true"></tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-05-22T00:06:55+02:00</updated-at>
      <user-id type="integer">15459</user-id>
      <user-name>Nate Wiger</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Chris Wanstrath</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>See #215 and #220. Are you using older version of will_paginate? The newest version is &quot;mislav-will_paginate&quot; 2.3.2 from http://gems.github.com/</body>
      <body-html>&lt;div&gt;&lt;p&gt;
See &lt;a href=&quot;/projects/466/tickets/215&quot; title=&quot;Ticket #215&quot;&gt;#215&lt;/a&gt; and &lt;a href=&quot;/projects/466/tickets/220&quot; title=&quot;Ticket #220&quot;&gt;#220&lt;/a&gt;. Are you using older version of will_paginate? The newest version is &quot;mislav-will_paginate&quot; 2.3.2 from &lt;a href=&quot;http://gems.github.com/&quot;&gt;http://gems.github.com/&lt;/a&gt;
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-11T14:13:06+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
:assigned_user: 51
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag nil="true"></tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-06-11T14:13:06+02:00</updated-at>
      <user-id type="integer">192</user-id>
      <user-name>Mislav</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I just double-checked, and we are using the latest 2.3.2 from github.  This issue is still occurring. If you follow the example above, you should be able to reproduce it.  Please let me know if I can provide more help.

Thanks,
Nate</body>
      <body-html>&lt;div&gt;&lt;p&gt;
I just double-checked, and we are using the latest 2.3.2 from github.  This issue is still occurring. If you follow the example above, you should be able to reproduce it.  Please let me know if I can provide more help.
&lt;/p&gt;&lt;p&gt;
Thanks,
&lt;/p&gt;&lt;p&gt;
Nate
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-06-25T19:57:22+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: 
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-06-25T19:57:22+02:00</updated-at>
      <user-id type="integer">15459</user-id>
      <user-name>Nate Wiger</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Confirming this bug - gives a &quot;stack level too deep&quot; error in combination with acts_as_taggable plugin.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Confirming this bug - gives a &quot;stack level too deep&quot; error in
combination with acts_as_taggable plugin.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-07-02T09:36:13+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-10-15T18:45:45+02:00</updated-at>
      <user-id type="integer">24956</user-id>
      <user-name>vamsee</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Confirming this bug for any collection actions (each, select, collect, detect...) for a has many through collection. 
SystemStackError: stack level too deep
    /trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing_without_paginate'
    /trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Confirming this bug for any collection actions (each, select, collect, detect...) for a has many through collection.
&lt;/p&gt;&lt;p&gt;
SystemStackError: stack level too deep
&lt;/p&gt;&lt;p&gt;
/trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing_without_paginate'
&lt;/p&gt;&lt;p&gt;
/trunk/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:164:in `method_missing'
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-07-19T23:40:25+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-07-19T23:40:25+02:00</updated-at>
      <user-id type="integer">26611</user-id>
      <user-name>Sidu Ponnappa</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Actually, this problem went away after I updated to mislav-will_paginate. Sidu, I suggest you try the same.</body>
      <body-html>&lt;div&gt;&lt;p&gt;
Actually, this problem went away after I updated to mislav-will_paginate. Sidu, I suggest you try the same.
&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-07-20T08:23:29+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-07-20T08:23:29+02:00</updated-at>
      <user-id type="integer">24956</user-id>
      <user-name>vamsee</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Nate Wiger: are you using any plugins that hook into ActiveRecord?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Nate Wiger: are you using any plugins that hook into ActiveRecord?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-09T11:03:12+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-08-09T11:03:12+02:00</updated-at>
      <user-id type="integer">192</user-id>
      <user-name>Mislav</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I was experiencing this behavior. Upgrading my app from 2.0.2 to 2.1.0 fixed it for me.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I was experiencing this behavior. Upgrading my app from 2.0.2 to 2.1.0 fixed it for me.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-08-25T16:21:01+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-08-25T16:21:01+02:00</updated-at>
      <user-id type="integer">15340</user-id>
      <user-name>David Eisinger</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Experiencing this also. Using ActiveScaffold so that's probably where the bug is. Why it's even being called for an create method is beyond me though.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Experiencing this also. Using ActiveScaffold so that's probably
where the bug is. Why it's even being called for an create method
is beyond me though.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2008-09-20T09:10:53+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: bug will_paginate
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>open</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-09-20T09:10:56+02:00</updated-at>
      <user-id type="integer">31512</user-id>
      <user-name>FotoVerite</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">192</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I have tried to reproduce several of these failures (tests in commit de98ac9), but without success. I tested with Rails versions 1.2.6, 2.0.4 and 2.1.0.

This led me to believe that you guys are experiencing issues because of 3rd party plugins that mix into ActiveRecord obtrusively.

So, in the next reports I expect you to paste me a list of libraries/plugins you're using. Also make sure that you're on the latest version of &quot;mislav-will_paginate&quot; before submitting a comment.

Thanks</body>
      <body-html>&lt;div&gt;&lt;p&gt;I have tried to reproduce several of these failures (tests in
commit de98ac9), but without success. I tested with Rails versions
1.2.6, 2.0.4 and 2.1.0.&lt;/p&gt;
&lt;p&gt;This led me to believe that you guys are experiencing issues
because of 3rd party plugins that mix into ActiveRecord
obtrusively.&lt;/p&gt;
&lt;p&gt;So, in the next reports I expect you to paste me a list of
libraries/plugins you're using. Also make sure that you're on the
latest version of &quot;mislav-will_paginate&quot; before submitting a
comment.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2008-10-07T13:19:58+02:00</created-at>
      <creator-id type="integer">15459</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">223</number>
      <permalink>infinite-loop-in-will_paginate-with-has_many-through</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">17958</project-id>
      <state>hold</state>
      <tag>bug will_paginate</tag>
      <title>Infinite loop in will_paginate with has_many :through</title>
      <updated-at type="datetime">2008-10-07T13:20:01+02:00</updated-at>
      <user-id type="integer">192</user-id>
      <user-name>Mislav</user-name>
      <creator-name>Nate Wiger</creator-name>
      <assigned-user-name>Mislav</assigned-user-name>
      <url>http://sod.lighthouseapp.com/projects/17958/tickets/223</url>
    </version>
  </versions>
</ticket>
