Such a simple solution to a major pain point. So I thought to myself, "there must be a reason it hasn't been done.". So I went into Hobo to try and hack it in and see what happens.

When I got to the right place, I found this in dryml/template.rb:

    def include_source_metadata
# disabled for now -- we're still getting broken rendering with this feature on
      return false
@include_source_metadata = RAILS_ENV == "development" && !ENV['DRYML_EDITOR'].blank? if @include_source_metadata.nil?
      @include_source_metadata
    end

I commented out the "return false" and set the DRYML_EDITOR variable in my environment, and it seems to work fine. Give it a try and let me know if it breaks anything!

cheers,
Bryan

P.S. Please don't start new message by replying to an old one unless it's actually a reply. Many of us have properly nested email readers, so your message becomes hidden in the other thread.

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to