On 2/8/07, <b class="gmail_sendername">Deb Lewis</b> &lt;<a href="mailto:djlewis@acm.org">djlewis@acm.org</a>&gt; 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;">
p.s. do you want me to make a revision pass per my comments or do you want<br>to do that (assuming you agree with what I suggested, that is!)<br><br>This does seem like the right approach, in general - I can write a normal
<br>method in the normal way w/out worrying about access constraints from a<br>block.<br><br>Other variation might be for app developer to supply just the text of the<br>allow_access? predicate method, which we&#39;d then compile into the
<br>MasterViewController (similar to dynamically generated method installation),<br>but that seems a bit odd - I like it better to write a proper, legit ruby<br>module used as a mixin.<br><br></blockquote></div><br><br>Yes, I agree with your comments. If you have time to fix this up like you mentioned that would be great!!
<br><br>And I do think that we would have to have something in the masterview_controller (but could be one liner) to do the mixin since controllers get dropped and reloaded in development mode, so we are not necessarily going to be able to hook it from elsewhere and guarantee that it is rehooked if reloaded later.
<br><br>Thanks,<br><br>Jeff<br>