Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

SystemStackError: stack level too deep

#232

Hi all,

I got this error on script/console is there any fix ? Below are print stack:

>> @p = Person.find(106)

=> #

>> @p.paper

=> [#, #, #, #.....]

>> @p.paper.size

=> 94

>> @p.paper.class

SystemStackError: stack level too deep

from /Users/jc/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:138:in `method_missing_without_paginate'

from /Users/jc/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:139:in `method_missing'

from (irb):3

my models associations:

Person

has_many :author

has_many :paper :through => :author

my environment:

ruby -v ==> ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.2]

rails -v ==> Rails 2.1.0

gem -v ==> 1.0.1

just Successfully installed mislav-will_paginate-2.3.2

Many thanks,

Jeannette

Reported by Jeannette · June 25th, 2008 @ 07:17 AM

State: invalid
Milestone: none
Assigned to: Mislav Mislav

Activity

  1. Jeannette
    Jeannette

    FYI:

    I have solved the problem by doing:

    gem uninstall will_paginate

    script/plugin remove will_paginate

    and then gem install mislav-will_paginate -s http://gems.github.com

    cheers

    Jeannette

    June 26th, 2008 @ 03:20 AM

  2. Mislav
    Mislav
    • State changed from new to invalid
    • Tag set to will_paginate
    • Assigned user changed from Chris Wanstrath to Mislav

    October 26th, 2008 @ 02:32 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.