ruby - Haml + ActionMailer - Rails? -


i'm trying use actionmailer without rails in project, , want use haml html email templates. have luck getting configured , initialized templates found , rendered? i'm getting errors like:

actionview::missingtemplate: missing template new_reg/daily_stats/full {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en]} in view paths "/home/petersen/new_reg/lib/new_reg/mailers/views" 

to clarify, actionmailer 3.0.4

looks issue without full rails stack, haml doesn't load, haml::plugin class. adding require 'haml/template/plugin' after normal require 'haml' line seems solve problems.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -