Closed dce closed 13 years ago
+1
Another +1 from me - this sure is a noisy deprecation for Rails 2 apps. I get a lot of these:
DEPRECATION WARNING: Kernel#returning has been deprecated in favor of Object#tap. (called from dashboard_path at (eval):4)
The patch looks correct.
We finally ended up just releasing our own gem: https://rubygems.org/gems/vigetlabs-routing-filter. Might be useful to you guys in the interim.
I'll contact Sven, apparently he hasn't visited github for some time now
+1, just started writing the patch myself
I've got the collaborator status of this repository and pulled this.
As for a new gem, wait until I get the ownership of routing-filter
gem.
A new gem routing-filter 0.2.4
has been published.
Hi guys,
We're using routing-filter on a Rails 2 app, and it's working very well. When we upgraded to 2.3.11, though, we started getting a bunch of warnings since routing-filter calls 'returning', which has been deprecated. This patch replaces the call with a call to 'tap'.
Thanks, David