[Ironruby-core] Problem with IronRubyMvc and IR 0.9.1

Immo Wache lists at ruby-forum.com
Sun Oct 11 14:19:04 EDT 2009

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

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/.

More information about the Ironruby-core mailing list