<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -257,7 +257,7 @@ If you are rendering a subtemplate, you must now use controller-like partial syn
         if partial_layout = options.delete(:layout)
           if block_given?
             wrap_content_for_layout capture(&amp;block) do 
-              concat(render(options.merge(:partial =&gt; partial_layout)), block.binding)
+              concat(render(options.merge(:partial =&gt; partial_layout)))
             end
           else
             wrap_content_for_layout render(options) do</diff>
      <filename>actionpack/lib/action_view/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -249,9 +249,9 @@ module ActionView
           args.unshift object
         end
 
-        concat(form_tag(options.delete(:url) || {}, options.delete(:html) || {}), proc.binding)
+        concat(form_tag(options.delete(:url) || {}, options.delete(:html) || {}))
         fields_for(object_name, *(args &lt;&lt; options), &amp;proc)
-        concat('&lt;/form&gt;', proc.binding)
+        concat('&lt;/form&gt;')
       end
 
       def apply_form_for_options!(object_or_array, options) #:nodoc:</diff>
      <filename>actionpack/lib/action_view/helpers/form_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -407,10 +407,10 @@ module ActionView
       #   # =&gt; &lt;fieldset&gt;&lt;legend&gt;Your details&lt;/legend&gt;&lt;p&gt;&lt;input id=&quot;name&quot; name=&quot;name&quot; type=&quot;text&quot; /&gt;&lt;/p&gt;&lt;/fieldset&gt;
       def field_set_tag(legend = nil, &amp;block)
         content = capture(&amp;block)
-        concat(tag(:fieldset, {}, true), block.binding)
-        concat(content_tag(:legend, legend), block.binding) unless legend.blank?
-        concat(content, block.binding)
-        concat(&quot;&lt;/fieldset&gt;&quot;, block.binding)
+        concat(tag(:fieldset, {}, true))
+        concat(content_tag(:legend, legend)) unless legend.blank?
+        concat(content)
+        concat(&quot;&lt;/fieldset&gt;&quot;)
       end
       
       private
@@ -442,9 +442,9 @@ module ActionView
         
         def form_tag_in_block(html_options, &amp;block)
           content = capture(&amp;block)
-          concat(form_tag_html(html_options), block.binding)
-          concat(content, block.binding)
-          concat(&quot;&lt;/form&gt;&quot;, block.binding)
+          concat(form_tag_html(html_options))
+          concat(content)
+          concat(&quot;&lt;/form&gt;&quot;)
         end
 
         def token_tag</diff>
      <filename>actionpack/lib/action_view/helpers/form_tag_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -179,13 +179,7 @@ module ActionView
           content = content_or_options_with_block
         end
 
-        javascript_tag = content_tag(&quot;script&quot;, javascript_cdata_section(content), html_options.merge(:type =&gt; Mime::JS))
-        
-        if block_given? &amp;&amp; block_is_within_action_view?(block)
-          concat(javascript_tag, block.binding)
-        else
-          javascript_tag
-        end
+        concat(content_tag(&quot;script&quot;, javascript_cdata_section(content), html_options.merge(:type =&gt; Mime::JS)))
       end
 
       def javascript_cdata_section(content) #:nodoc:</diff>
      <filename>actionpack/lib/action_view/helpers/javascript_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -382,9 +382,9 @@ module ActionView
           args.unshift object
         end
 
-        concat(form_remote_tag(options), proc.binding)
+        concat(form_remote_tag(options))
         fields_for(object_name, *(args &lt;&lt; options), &amp;proc)
-        concat('&lt;/form&gt;', proc.binding)
+        concat('&lt;/form&gt;')
       end
       alias_method :form_remote_for, :remote_form_for
       </diff>
      <filename>actionpack/lib/action_view/helpers/prototype_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -51,9 +51,8 @@ module ActionView
         prefix  = args.first.is_a?(Hash) ? nil : args.shift
         options = args.first.is_a?(Hash) ? args.shift : {}
         concat content_tag(tag_name, capture(&amp;block), 
-          options.merge({ :class =&gt; &quot;#{dom_class(record)} #{options[:class]}&quot;.strip, :id =&gt; dom_id(record, prefix) })), 
-          block.binding
+          options.merge({ :class =&gt; &quot;#{dom_class(record)} #{options[:class]}&quot;.strip, :id =&gt; dom_id(record, prefix) }))
       end
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>actionpack/lib/action_view/helpers/record_tag_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -66,12 +66,9 @@ module ActionView
       def content_tag(name, content_or_options_with_block = nil, options = nil, escape = true, &amp;block)
         if block_given?
           options = content_or_options_with_block if content_or_options_with_block.is_a?(Hash)
-          content = capture(&amp;block)
-          content_tag = content_tag_string(name, content, options, escape)
-          block_is_within_action_view?(block) ? concat(content_tag, block.binding) : content_tag
+          concat(content_tag_string(name, capture(&amp;block), options, escape))
         else
-          content = content_or_options_with_block
-          content_tag_string(name, content, options, escape)
+          content_tag_string(name, content_or_options_with_block, options, escape)
         end
       end
 </diff>
      <filename>actionpack/lib/action_view/helpers/tag_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,17 +15,17 @@ module ActionView
       #
       # ==== Examples
       #   &lt;%
-      #       concat &quot;hello&quot;, binding
+      #       concat &quot;hello&quot;
       #       # is the equivalent of &lt;%= &quot;hello&quot; %&gt;
       #
       #       if (logged_in == true):
-      #         concat &quot;Logged in!&quot;, binding
+      #         concat &quot;Logged in!&quot;
       #       else
-      #         concat link_to('login', :action =&gt; login), binding
+      #         concat link_to('login', :action =&gt; login)
       #       end
       #       # will either display &quot;Logged in!&quot; or a login link
       #   %&gt;
-      def concat(string, binding = nil)
+      def concat(string)
         if @output_buffer
           @output_buffer &lt;&lt; string
         else</diff>
      <filename>actionpack/lib/action_view/helpers/text_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0bdb7d353b4ac6f5470884360f9a480a16bd709c</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <login>jeremy</login>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/rails/rails/commit/4d4c8e298f5396e6b8ace0a10d7f991594aace2d</url>
  <id>4d4c8e298f5396e6b8ace0a10d7f991594aace2d</id>
  <committed-date>2008-06-02T21:32:50-07:00</committed-date>
  <authored-date>2008-06-02T13:49:14-07:00</authored-date>
  <message>Don't pass block binding to concat</message>
  <tree>2a5d4704d307ff2469de6226c9c2fbb691e75e32</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <login>jeremy</login>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
