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("10\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_ruby\'>&lt;<\/span><span class=\'keyword keyword_operator keyword_operator_arithmetic keyword_operator_arithmetic_ruby\'>%<\/span> <span class=\'variable variable_other variable_other_readwrite variable_other_readwrite_instance variable_other_readwrite_instance_ruby\'>@customers<\/span>.all.each_with_index <span class=\'keyword keyword_control keyword_control_start-block keyword_control_start-block_ruby\'>do <\/span>|<span class=\'variable variable_other variable_other_block variable_other_block_ruby\'>i<\/span>, <span class=\'variable variable_other variable_other_block variable_other_block_ruby\'>customer<\/span>| <span class=\'string string_quoted string_quoted_other string_quoted_other_literal string_quoted_other_literal_other string_quoted_other_literal_other_ruby\'>%&gt;<\/span>\n");
document.write("<span class=\"String\">  &lt;h1&gt;<\/span><span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_ruby\'>&lt;<\/span><span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_augmented keyword_operator_assignment_augmented_ruby\'>%=<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;Customer <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{i}<\/span>: <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{customer.name}<\/span> %&gt;&lt;/h1&gt;<\/span>\n");
document.write("<span class=\"String\">&lt;% end %&gt;<\/span>\n");
document.write("<span class=\"String\"><\/span>\n");
document.write("<span class=\"String\">customers.collect { |c| c.address.city }.uniq <\/span>\n");
document.write("<span class=\"String\"><\/span>\n");
document.write("<span class=\"String\">&lt;% form_for @customer %&gt;<\/span>\n");
document.write("<span class=\"String\">  &lt;%= f.label :name %&gt;<\/span>\n");
document.write("<span class=\"String\">  &lt;%= f.input :name %&gt;<\/span>\n");
document.write("<span class=\"String\">&lt;% end %&gt;<\/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/1003742.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/1003742\">Pastie #1003742<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

