rails/rails — pull request #7560 by bogdan (2012-09-07 11:45:37+00:00)
Title: AS::Callbacks: deprecate monkey patch of object callbacks

Deprecate yet another on the fly monkey patch of objects in AS::Callbacks.
This one is probably related to before_filters:

``` ruby
before_filter MyFilter.new

class MyFilter
def filter(controller)
end
end
```

is now deprecated with recommendation to use:

``` ruby
before_filter MyFilter.new

class MyFilter
def before(controller)
end
end
```