Hi Tim,

I'm working on a fix - in the meantime you can use

http://opensvn.csie.org/rails_engines/engines/tags/rel_1.0.1

... which shouldn't exhibit this problem. I should have a fix later
today though - you might want to stay tuned to the engine-developers
list (on rforum, or at rails-engines.org)

- james

On 1/11/06, Tim Greiser <[EMAIL PROTECTED]> wrote:
> I'm trying to use user_engine, and as suggested I load with:
>
> Engines.start :login, :user
>
> However, when I go to /user/list
>
> I get a nil object error.  Some use of breakpointer reveals that it
> isn't running the user_engine user_controller, but instead the
> login_engine user_controller (which doesn't have the list action).  I
> have also tried the 2 alternate methods of Engines.start, but no luck.
> Here is my trace:
>
> #{RAILS_ROOT}/vendor/plugins/user_engine/app/views/user/list.rhtml:5
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in
> `compile_and_render_template'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in
> `render_template'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in
> `render_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in
> `render_file'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in
> `render_with_no_layout'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in
> `render_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in
> `render'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in
> `render'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:856:in
> `perform_action_without_filters'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in
> `perform_action_without_benchmark'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in
> `perform_action_without_rescue'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in
> `perform_action'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in
> `process_without_session_management_support'
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in
> `process'
> /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
> `dispatch'
> #{RAILS_ROOT}/public/dispatch.cgi:10
>
> TIA
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> engine-users mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to