How do I generate a view from the console/script-runner in merb?
I'd like to generate a lot of merb views (around 350.000) and save them to separate files programmati开发者_如何学Gocally (they will actually be XML files). One option would be to simply wget
them, but that is too slow (already tried it, but takes around two days). For rails I've already found an answer but that doesn't work with merb.
It's actually the same as for the answer for rails, but you have to substitute app
with merb
精彩评论