On 10/2/07, <b class="gmail_sendername">David Chelimsky</b> <<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</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;">
This is a known issue:<br><br><a href="http://rubyforge.org/tracker/index.php?func=detail&aid=12963&group_id=797&atid=3149">http://rubyforge.org/tracker/index.php?func=detail&aid=12963&group_id=797&atid=3149
</a><br><br>Patches welcome!<br></blockquote></div><br>Not sure if that's related to the problem I'm having with view specs and the dynamic path-generators, but it may be. I tried to run the NetBeans debugger on my spec, but as far as I can see, it can't introspect into the generated code that
routing.rb write_generation performs, which makes it difficult to diagnose the problem. <br><br>I can dig into routing.rb:423 and the calls beneath it, but when I get to routing.rb:424, step into just goes away and drops me off at a failed test.
<br><br>Does anyone have suggestions for an alternate debugging technique, short of modifying rails code, which is a little more intensive than I'd like right now? I don't mind trying to diagnose the problem and, if once diagnosed, look into the effort of creating a patch, but at the moment, I don't even know why my route generation's failing.
<br><br> - Geoffrey<br>-- <br>Geoffrey Wiseman<br>