Forum: Rails Engines Edge version: 'stack level too deep' Error ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Wybo W. (Guest)
on 2006-01-30 16:17
(Received via mailing list)
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 <controller not set>#<action not set>

 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:in
 `write_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:in
 `send'
 ./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:in
 `each'
 ./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:in
 `included'
 /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:in
 `class_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:in `include'
 #{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:in `include'
 #{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:in `include'
 #{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:in `include'
 and so on... (same 2 lines)

Any idea what or why ?

Wybo
Kevin O. (Guest)
on 2006-02-02 06:27
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 <controller not set>#<action not set>
>
>  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. (Guest)
on 2006-02-02 06:32
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 <controller not set>#<action not set>
>>
>>  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
Nshbrown N. (Guest)
on 2006-02-03 01:16
(Received via mailing list)
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This topic is locked and can not be replied to.