On 9/19/06, Naga harish Kanegolla
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> Hi,
> I''m trying to get the projects list as per month. Then
I''m getting an
> error "stack level too deep".. could any body please tell me wats
this
> error exactly mean??
>
> Harish
>
It almost certainly means you have an (unintentional?) recursion in
your code (a function that calls itself, which calls itself, etc...):
def recurse
recurse
recurse
Every time a function is called, a new frame is added on the stack. At
some point, the Ruby interpreter decides that you have way too many
stack frames and throws that error.
If you want to post the offending piece of code, we might be able to
help with more specifics.
Max
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---