How do you want to provide different development environments for ironrubymvc ? I can either do it by creating the configuration section I've been planning, this would be used to provide load paths for example for libraries outside of the web project.
I can have a parameter there something like MvcEnv which will set the ruby constant MVC_ENV based on the value of that constant it would then be possible to provide different behavior for the require statement, much like rails does. Would it be a good idea to enforce a single class per file for controllers and helpers, or would it be better to leave that up to the judgment of the user of the framework? Should there be validation for naming conventions. like a file home_controller.rb has to define the HomeController class? --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Wed, Oct 14, 2009 at 10:56 PM, Immo Wache <li...@ruby-forum.com> wrote: > Hi Ivan, > thanks for sharing your solution. I slightly extended it with > PathProvider.MapPath. Also I fixed a bug with my added xunit tests. > > http://github.com/iwache/ironrubymvc/commit/b6c6e425343925b9f7a464ee43c3f80cf93c8cec > > Immo > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core