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.
F3158b6c62d112e4aba9579953e925db?d=identicon&s=25 Wybo Wiersma (wybo)
on 2006-01-30 15: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
C8a634a01a2c4508360874bff7fb1a7f?d=identicon&s=25 Kevin Olbrich (olbrich)
on 2006-02-02 05:27
Wybo Wiersma 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
C8a634a01a2c4508360874bff7fb1a7f?d=identicon&s=25 Kevin Olbrich (olbrich)
on 2006-02-02 05:32
Kevin Olbrich wrote:
> Wybo Wiersma 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
00e3a96684ab390a350b0271e98741d3?d=identicon&s=25 Nshbrown Nshbrown (nshb)
on 2006-02-03 00: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.