document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'meta meta_rails meta_rails_controller\'>    <span class=\'keyword keyword_control keyword_control_ruby\'>class<\/span> <span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>GenericMailerController<\/span> <span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_ruby\'>&lt;<\/span> <span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>ApplicationController<\/span>\n");
document.write("      <span class=\'support support_function support_function_actionpack support_function_actionpack_rails\'>before_filter<\/span> <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:render_email<\/span>\n");
document.write("\n");
document.write("    <span class=\'keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby\'>protected<\/span>\n");
document.write("      <span class=\'meta meta_function meta_function_method meta_function_method_without-arguments meta_function_method_without-arguments_ruby\'><span class=\'keyword keyword_control keyword_control_def keyword_control_def_ruby\'>def<\/span> <span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>render_email<\/span><\/span>\n");
document.write("        <span class=\'variable variable_language variable_language_ruby\'>self<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>instance_variable_set<\/span><\/span>(<span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'@\'<\/span> <span class=\'keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby\'>+<\/span> params[<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:table_name<\/span>]<span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>singularize<\/span><\/span>, params[<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:table_name<\/span>]<span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>classify<\/span><\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>constantize<\/span><\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>find<\/span><\/span>(params[<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:id<\/span>]))\n");
document.write("        <span class=\'support support_function support_function_actionpack support_function_actionpack_rails\'>render<\/span> <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:template<\/span> =&gt; <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;generic_mailer/<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{params[<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:table_name<\/span>]}<\/span>/<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{params[<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:action<\/span>]}<\/span>&quot;<\/span>\n");
document.write("      <span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("    <\/span><span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/577125.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/577125\">Pastie #577125<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");
