You need to remembered to put your modularized controllers into
subfolders, i.e. "class ActiveRbac::UserController < .... " would go
into 
./vendor/plugins/active_rbac/app/controllers/active_rbac/user_controller.rb....

- james

On 2/3/06, Manuel Holtgrewe <[EMAIL PROTECTED]> wrote:
> Hi
>
> > The current version of the Engines plugin (1.0.6) *should* fix all of
> > these problems - if you find you're having problems then post here
> > (preferrable with traces from the engine logger; see Engines.log for
> > details about how to turn it on) and we'll work through it.
>
> I did not find any documentation about how to turn on traces, the
> only thing I found was a call to Engine.create_logger which I added
> to my environment.rb.
>
> The source of the engine can be found here: http://www.6URL.com/0EJE
>
> Here is the trace:
>
> ==8<=========================
> [EMAIL PROTECTED] 17:45:58 rbac_demo $> ./script/server
> => Booting WEBrick...
> Starting engine 'active_rbac' from '/Users/manuel/Development/Rails/
> arbac.ts.com/rbac_demo/trunk/rbac_demo/vendor/plugins/active_rbac'
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/user to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/static_permission to
> the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/shared to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/role to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/registration_mailer to
> the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/registration to the
> load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/login to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views/group to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/views to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/model to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/helpers to the load path
> adding /Users/manuel/Development/Rails/arbac.ts.com/rbac_demo/trunk/
> rbac_demo/vendor/plugins/active_rbac/app/controllers to the load path
> No init_engines.rb file found for engine 'active_rbac'...
> Attempting to copy public engine files from './vendor/plugins/
> active_rbac/public'
> => Rails application started on http://0.0.0.0:3000
> => Ctrl-C to shutdown server; call with --help for options
> [2006-02-03 17:46:02] INFO  WEBrick 1.3.1
> [2006-02-03 17:46:02] INFO  ruby 1.8.2 (2004-12-25) [powerpc-
> darwin8.2.0]
> [2006-02-03 17:46:02] INFO  WEBrick::HTTPServer#start: pid=6766
> port=3000
> Engines' require_or_load for './app/controllers/application.rb'
> finally loading from application: './app/controllers/application.rb'
> Engines' require_or_load for 'application_helper'
> requiring helper file 'application_helper'
> --> rewrote to 'application_helper'
> --> checking 'active_rbac' for ./vendor/plugins/active_rbac/app/
> helpers/application_helper.rb
> finally loading from application: 'application_helper.rb'
> Engines' require_or_load for 'application_api'
> finally loading from application: 'application_api.rb'
> Engines' require_or_load for 'user'
> finally loading from application: 'user.rb'
> Engines' require_or_load for 'group'
> finally loading from application: 'group.rb'
> Engines' require_or_load for 'role'
> finally loading from application: 'role.rb'
> Engines' require_or_load for 'static_permission'
> finally loading from application: 'static_permission.rb'
> Engines' require_or_load for 'user_registration'
> finally loading from application: 'user_registration.rb'
> Engines' require_or_load for './vendor/plugins/active_rbac/app/
> controllers/user_controller.rb'
> requiring controller file './vendor/plugins/active_rbac/app/
> controllers/user_controller.rb'
> --> rewrote to 'user_controller.rb'
> --> checking 'active_rbac' for ./vendor/plugins/active_rbac/app/
> controllers/user_controller.rb
> --> found, loading from engine 'active_rbac'
> Engines' require_or_load for 'vendor/plugins/active_rbac/app/helpers/
> rbac_helper'
> requiring helper file 'vendor/plugins/active_rbac/app/helpers/
> rbac_helper'
> --> rewrote to 'rbac_helper'
> --> checking 'active_rbac' for ./vendor/plugins/active_rbac/app/
> helpers/rbac_helper.rb
> --> found, loading from engine 'active_rbac'
> finally loading from application: 'vendor/plugins/active_rbac/app/
> helpers/rbac_helper.rb'
> Engines' require_or_load for 'active_rbac'
> finally loading from application: 'active_rbac.rb'
> 127.0.0.1 - - [03/Feb/2006:17:46:15 CET] "GET /user HTTP/1.1" 500 10329
> - -> /user
> ==8<=========================
>
> Regards
>
> Manuel Holtgrewe
>
>
> _______________________________________________
> engine-developers mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org
>


--
* J *
  ~
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org

Reply via email to