Hi Ivan, many thanks again to care about this problem. Ivan Porto carrero wrote:
> I pulled in your changes Immo but ... complained about not being able > to find the correct IronRuby yada yada. Oh, my fault, sorry. I merged my local copy to my (first!) github fork (the one from you) slightly to much careful. There was a local copy reference of this assembly missing. Its fixed and pushed now. > Anyway the fix I had in mind was removing 1 line of code and reloading > works again. The thing is that now if you update a controller file you > need to restart the web application. Hmm, your solution seams to me for a cure of symthomes only. Ok it passes my tests but the problem with this solution is the one I described earlier: "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." To make this proveable I just added and pushed another test for this: [when_a_ruby_controller_was_resolved_twice->action_filters_count_should_be_ equal] This issue effects to the demo/test project "IronRubyMvcWeb" that you get on the browser at first call of /Home controller: ============================== Hello world >From method filter ASP.NET MVC w/ IronRuby Demo ... rabarber, rabarber... ============================== and on the second call: ============================== Hello world >From method filter Hello world <== these are the readded filters >From method filter ASP.NET MVC w/ IronRuby Demo ... rabarber, rabarber... ============================== So I need to touch web.config on _every_ subsequent call to an (unmodified) IronRuby controller :-((( Immo -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core