rails/rails — pull request #9321 by mfilej (2013-02-19 10:11:28+00:00)
Title: Require ActiveSupport dependencies in ActionDispatch::Http::URL

Makes it possible to use `url_for` and friends in isolation.

Before:
```
$ irb -Iactionpack/lib -raction_dispatch/http/url
/Users/miha/.rbenv/versions/1.9.3-p327-perf/lib/ruby/gems/1.9.1/gems/actionpack-3.2.11/lib/action_dispatch/http/url.rb:4:in `': undefined method `mattr_accessor' for ActionDispatch::Http::URL:Module (NoMethodError)
```

After:
```
$ irb -Iactionpack/lib -raction_dispatch/http/url
irb(main):001:0> ActionDispatch::Http::URL
=> ActionDispatch::Http::URL
```

No tests since I wasn't sure how to approach this. If you have any pointers I'd love to give it a try.