paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jan-13 21:18 UTC
stack level too deep
I have a problem why do I get a stack level too deep error when I just add def new @speler = Speler.new end I try to figure it out but I''m after 2 days of searching out off options I run ruby 1.8.6 and rails 2.0.2 this is the error message in full SystemStackError in SpelersController#new stack level too deep RAILS_ROOT: D:/Documenten/NetBeansProjects/Speler C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/locking/optimistic.rb:55:in `attributes_from_column_definition_without_lock'' C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/locking/optimistic.rb:55:in `attributes_from_column_definition'' C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/base.rb:1922:in `initialize'' app/controllers/spelers_controller.rb:31:in `new'' app/controllers/spelers_controller.rb:31:in `new'' thanks for your much appreciate help and reaction Paul --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Have you named your controller Speler? On Jan 14, 2008 7:48 AM, paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I have a problem > why do I get a stack level too deep error when I just add > def new > @speler = Speler.new > end > > I try to figure it out but I''m after 2 days of searching out off > options > I run ruby 1.8.6 > and rails 2.0.2 > this is the error message in full > SystemStackError in SpelersController#new > > stack level too deep > > RAILS_ROOT: D:/Documenten/NetBeansProjects/Speler > > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > active_record/locking/optimistic.rb:55:in > `attributes_from_column_definition_without_lock'' > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > active_record/locking/optimistic.rb:55:in > `attributes_from_column_definition'' > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > active_record/base.rb:1922:in `initialize'' > app/controllers/spelers_controller.rb:31:in `new'' > app/controllers/spelers_controller.rb:31:in `new'' > > > thanks for your much appreciate help and reaction > > Paul > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jan-13 23:32 UTC
Re: stack level too deep
no the nme of the controller is Spelers On 13 jan, 23:43, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you named your controller Speler? > > On Jan 14, 2008 7:48 AM, paulus4...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <paulus4...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I have a problem > > why do I get a stack level too deep error when I just add > > def new > > @speler = Speler.new > > end > > > I try to figure it out but I''m after 2 days of searching out off > > options > > I run ruby 1.8.6 > > and rails 2.0.2 > > this is the error message in full > > SystemStackError in SpelersController#new > > > stack level too deep > > > RAILS_ROOT: D:/Documenten/NetBeansProjects/Speler > > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > active_record/locking/optimistic.rb:55:in > > `attributes_from_column_definition_without_lock'' > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > active_record/locking/optimistic.rb:55:in > > `attributes_from_column_definition'' > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > active_record/base.rb:1922:in `initialize'' > > app/controllers/spelers_controller.rb:31:in `new'' > > app/controllers/spelers_controller.rb:31:in `new'' > > > thanks for your much appreciate help and reaction > > > Paul > > -- > Ryan Bigghttp://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email.--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Spelers or SpelersController? It needs to be the latter. On Jan 14, 2008 10:02 AM, paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <paulus4605-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > no the nme of the controller is Spelers > > On 13 jan, 23:43, "Ryan Bigg" <radarliste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Have you named your controller Speler? > > > > On Jan 14, 2008 7:48 AM, paulus4...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <paulus4...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > > > > > > > > > I have a problem > > > why do I get a stack level too deep error when I just add > > > def new > > > @speler = Speler.new > > > end > > > > > I try to figure it out but I''m after 2 days of searching out off > > > options > > > I run ruby 1.8.6 > > > and rails 2.0.2 > > > this is the error message in full > > > SystemStackError in SpelersController#new > > > > > stack level too deep > > > > > RAILS_ROOT: D:/Documenten/NetBeansProjects/Speler > > > > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > > active_record/locking/optimistic.rb:55:in > > > `attributes_from_column_definition_without_lock'' > > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > > active_record/locking/optimistic.rb:55:in > > > `attributes_from_column_definition'' > > > C:/paul/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ > > > active_record/base.rb:1922:in `initialize'' > > > app/controllers/spelers_controller.rb:31:in `new'' > > > app/controllers/spelers_controller.rb:31:in `new'' > > > > > thanks for your much appreciate help and reaction > > > > > Paul > > > > -- > > Ryan Bigghttp://www.frozenplague.net > > Feel free to add me to MSN and/or GTalk as this email. > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---