Thursday, January 3, 2008

TemplateError, Markaby, HostingRails

Markaby in HostingRails causes some TemplateError. To fix it, in vendor\plugins\markaby\lib\markaby\rails.rb, replace

compile_and_render_template(template_extension, template, file_path, local_assigns)

with

compile_and_render_template(@@template_handlers[template_extension.to_sym], template, file_path, local_assigns)

source: comments section of a posting in the RoR blog.

No comments: