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:inattributes_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:innew’
app/controllers/spelers_controller.rb:31:in `new’

thanks for your much appreciate help and reaction

Paul

Have you named your controller Speler?

On Jan 14, 2008 7:48 AM, [email protected] [email protected]
wrote:

and rails 2.0.2
`attributes_from_column_definition_without_lock’

Paul


Ryan B.
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.

no the nme of the controller is Spelers

Spelers or SpelersController? It needs to be the latter.

On Jan 14, 2008 10:02 AM, [email protected] [email protected]
wrote:

I run ruby 1.8.6
`attributes_from_column_definition_without_lock’
Paul


Ryan B.http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.


Ryan B.
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.