Hi,
tried to get running casualjim/ironrubymvc master from github to work.
(I'm about to write a IronRuby MVC plugin for OpenSource CMS Umbraco
with this, see: http://www.umbraco.org)

Problem is calling a controller more than once.

With IR 0.9.0 it worked quite well. But now when I recall the same
controller url (eg. /Home) I get error "unknown member: HomeController".

Searching the code I found:

1. Error comes from RubyEngine.GetGlobalVariable() for "HomeController"

2. Cause for this seams to be the before executed method call to
RubyEngine.RemoveClassFromGlobals()

I tried to comment out call to 2. This works better, but the
HomeController now adds all Filter methods again and again, everytime I
call the controller.
So I tried around some hours to find out what's going on and for a
better way to remove the HomeController from the IronRuby engine global
scope but without any success.

Any ideas to fix this? Immo
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to