SystemStackError: stack level too deep
Reported by Jeannette | June 25th, 2008 @ 07:17 AM
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
Comments and changes to this ticket
-

Jeannette June 26th, 2008 @ 03:20 AM
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
-
Mislav June 30th, 2008 @ 02:59 PM
- → Assigned user changed from Chris Wanstrath to Mislav
- → State changed from new to invalid
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
