<br><br><div><span class="gmail_quote">On 11/10/06, <b class="gmail_sendername">Ed Howland</b> <<a href="mailto:ed.howland@gmail.com">ed.howland@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jeff and Deb,<br><br>Turns out I had a project with many user defined directives. I<br>installed 0.3.0 and followed the instructions in your email.<br><br>What I did was this (in a typical directive in<br><rails_app>/app/masterview/directives/text_field_tag.rb:)
<br><br>require 'masterview/deprecated/directive_base'<br>module MasterView<br> module Directives<br> class Text_field_tag < MasterView::DirectiveBaseOld<br>...<br># for testing this just redefines empty stag/etag methods
<br><br>Then I went into all .html files that had custom directives and<br>changed the namespace from mv: to mvx: (Note: the errors below were<br>unchanged before I switched namespaces to mvx)<br><br>Running rake mv:parse results in :
<br> ERROR -- : Failure to parse template. Exception=undefined method<br>`attribute_qname' for MasterView::Directives::Text_field_tag:Class<br>It also seems to be missing class method : namespace_name<br><br>Now, some other directives complain about this:
<br>ERROR -- : Failure to parse template. Exception=undefined method<br>`harden_metadata' for<br>MasterView::Directives::Link_to_remote_no_quote:Class<br><br>These exist only in 0.3.0. So it seems that while it seems to be
<br>seeing my existing directives in the new namespace or using the new<br>directive_base.rb instead of the old deprecated one.<br><br>Have I missed a step?</blockquote><div><br><br></div></div>Sounds like you did all the right things. Let me take a look and see if I can figure out how to resolve this.
<br><br>Jeff<br>