Rails 2.0 Deprecations

The new deprecation system in Rails is nice, but it doesn’t tell you what methods to use instead of the deprecated one. Here is a table of some of them:

Old New Notes
assert_redirect_url assert_redirected_to This is a direct replacement since the first parameter can be a URL
redirect_to_path
redirect_to_url
redirect_to This can now be called with a path or URL too