Edge version: 'stack level too deep' Error?

Using the login_engine and the user_engine with the Rails edge version
and with the edge version of the engines plugin I get the following
error:

SystemStackError in #

stack level too deep

and then the trace:
./script/…/config/…/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb:100:in
read_inheritable_attribute' ./script/../config/../vendor/rails/activerecord/lib/active_record/validations.rb:691:inwrite_inheritable_set’
./script/…/config/…/vendor/rails/activerecord/lib/active_record/validations.rb:240:in
validate_on_create' ./script/../config/../vendor/rails/activerecord/lib/active_record/validations.rb:379:insend’
./script/…/config/…/vendor/rails/activerecord/lib/active_record/validations.rb:379:in
validates_presence_of' ./script/../config/../vendor/rails/activerecord/lib/active_record/validations.rb:378:ineach’
./script/…/config/…/vendor/rails/activerecord/lib/active_record/validations.rb:378:in
validates_presence_of' /home/wybo/befairshare/app/dev/vendor/plugins/login_engine/lib/login_engine/authenticated_user.rb:16:inincluded’
/home/wybo/befairshare/app/dev/vendor/plugins/login_engine/lib/login_engine/authenticated_user.rb:9:in
class_eval' /home/wybo/befairshare/app/dev/vendor/plugins/login_engine/lib/login_engine/authenticated_user.rb:9:inclass_eval’
/home/wybo/befairshare/app/dev/vendor/plugins/login_engine/lib/login_engine/authenticated_user.rb:9:in
included' #{RAILS_ROOT}/app/models/user.rb:2:ininclude’
#{RAILS_ROOT}/app/models/user.rb:2
#{RAILS_ROOT}/app/models/user.rb:3:in include' #{RAILS_ROOT}/app/models/user.rb:3 #{RAILS_ROOT}/app/models/user.rb:3:ininclude’
#{RAILS_ROOT}/app/models/user.rb:3
#{RAILS_ROOT}/app/models/user.rb:3:in include' #{RAILS_ROOT}/app/models/user.rb:3 #{RAILS_ROOT}/app/models/user.rb:3:ininclude’
#{RAILS_ROOT}/app/models/user.rb:3
#{RAILS_ROOT}/app/models/user.rb:3:in include' #{RAILS_ROOT}/app/models/user.rb:3 #{RAILS_ROOT}/app/models/user.rb:3:ininclude’
and so on… (same 2 lines)

Any idea what or why ?

Wybo

Wybo W. wrote:

Using the login_engine and the user_engine with the Rails edge version
and with the edge version of the engines plugin I get the following
error:

SystemStackError in #

stack level too deep

Yeah, I’m getting the same thing with edge rails. If I revert back to
rails 1.0, it works fine.

_Kevin

Kevin O. wrote:

Wybo W. wrote:

Using the login_engine and the user_engine with the Rails edge version
and with the edge version of the engines plugin I get the following
error:

SystemStackError in #

stack level too deep

Yeah, I’m getting the same thing with edge rails. If I revert back to
rails 1.0, it works fine.

_Kevin

And the solution is described here… duh

http://www.ruby-forum.com/topic/52448#27449

Edge Rails works fine for me with
http://opensvn.csie.org/rails_engines/engines/branches/edge/ the Edge
Branch.

-Nb

 Nathaniel S. H. Brown                           http://nshb.net