<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -876,10 +876,12 @@ class YieldingAroundFiltersTest &lt; ActionController::TestCase
     assert_raise(After) { test_process(controller,'raises_after') }
   end
 
-  def test_with_method
-    controller = ControllerWithFilterMethod
-    assert_nothing_raised { test_process(controller,'no_raise') }
-    assert_raise(After) { test_process(controller,'raises_after') }
+  for_tag(:old_base) do
+    def test_with_method
+      controller = ControllerWithFilterMethod
+      assert_nothing_raised { test_process(controller,'no_raise') }
+      assert_raise(After) { test_process(controller,'raises_after') }
+    end
   end
 
   def test_with_proc</diff>
      <filename>actionpack/test/controller/filters_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -180,9 +180,10 @@ module ActiveSupport
             filter = &lt;&lt;-RUBY_EVAL
               unless halted
                 result = #{@filter}
-                halted ||= (#{terminator})
+                halted = (#{terminator})
               end
             RUBY_EVAL
+            
             [@compiled_options[0], filter, @compiled_options[1]].compact.join(&quot;\n&quot;)
           else
             # Compile around filters with conditions into proxy methods
@@ -201,7 +202,7 @@ module ActiveSupport
             # end
             
             name = &quot;_conditional_callback_#{@kind}_#{next_id}&quot;
-            txt = &lt;&lt;-RUBY_EVAL
+            txt, line = &lt;&lt;-RUBY_EVAL, __LINE__
               def #{name}(halted)
                 #{@compiled_options[0] || &quot;if true&quot;} &amp;&amp; !halted
                   #{@filter} do
@@ -212,7 +213,7 @@ module ActiveSupport
                 end
               end
             RUBY_EVAL
-            @klass.class_eval(txt)
+            @klass.class_eval(txt, __FILE__, line)
             &quot;#{name}(halted) do&quot;
           end
         end
@@ -291,15 +292,7 @@ module ActiveSupport
             &quot; self, Proc.new &quot;
           else
             &quot;&quot;
-          end
-        when Method
-          @klass.send(:define_method, &quot;#{method_name}_method&quot;) { filter }
-          @klass.class_eval &lt;&lt;-RUBY_EVAL, __FILE__, __LINE__ + 1
-            def #{method_name}(&amp;blk)
-              #{method_name}_method.call(self, &amp;blk)
-            end
-          RUBY_EVAL
-          method_name
+          end          
         when String
           @klass.class_eval &lt;&lt;-RUBY_EVAL
             def #{method_name}</diff>
      <filename>activesupport/lib/active_support/new_callbacks.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6b4da2ecacc28d7e50aa0e0123b5f4564d6e92c2</id>
    </parent>
  </parents>
  <author>
    <name>Yehuda Katz</name>
    <email>wycats@yehuda-katzs-macbookpro41.local</email>
  </author>
  <url>http://github.com/lifo/docrails/commit/d6e4113c83a9d55be6f2af247da2cecaa855f43b</url>
  <id>d6e4113c83a9d55be6f2af247da2cecaa855f43b</id>
  <committed-date>2009-06-02T22:06:21-07:00</committed-date>
  <authored-date>2009-06-02T22:06:21-07:00</authored-date>
  <message>YAGNI Method references. Deprecated</message>
  <tree>b0be336385aec7383950889029c28ad8db61e46f</tree>
  <committer>
    <name>Yehuda Katz</name>
    <email>wycats@yehuda-katzs-macbookpro41.local</email>
  </committer>
</commit>
