On 2/16/07, <b class="gmail_sendername">Lea Viljanen</b> <<a href="mailto:Lea.Viljanen@iki.fi">Lea.Viljanen@iki.fi</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Apart from the webrick problem documented previously, I had a puzzling<br>problem: views/controller directory would stay empty after doing<br>"script/generate model controller". Script would say everything is OK,
<br>but I would get a "Missing template<br>script/../config/../app/views/foo/list.rhtml" error in the browser<br>on trying to get to the controller.</blockquote><div><br><br>Hmm. Sounds like there was an exception happening in the generate that was not actually letting the code succeed to create the files. Unfortunately many of these rails commands eat the exception by default so we don't always see the output, sometimes you can get more output by adding a command line option.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The problem is that I don't know what fixed this. When I got the<br>webrick problem sorted out, the generator suddenly started working as
<br>well. But as the problems probably weren't related, I'd like to know<br>if anybody else has seen this? What was the solution?</blockquote><div><br><br>I'm guessing that somehow you resolved the original exception and things started working again. We'll try to indicate in our docs how one can get more useful output if you are having problems.
<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">BTW, Masterview would need better support for merging it with existing<br>plain Rails projects. I don't think I'm the only one realizing halfway
<br>into coding that something like Masterviews would be needed. Or at least<br>better documentation how to do it... I'm willing to help, but with about<br> 8 hours of Masterview experience I'm not the ideal candidate.
</blockquote><div><br><br>Yes, while you can currently mix and match using MasterView with an existing project, others have also suggested interest in being able to import existing rhtml into the MasterView templates would really help. I agree that this would be a nice feature to have, but I haven't quite worked through all the technical details to be able to make this happen. It is on our todo list.
<br><br>Jeff<br><br><br></div></div><br>