From 0c777bace2aed1833e068358461de62bbd59cd0c Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 8 Mar 2011 16:18:27 -0800 Subject: stop being clever and just call methods on the Route object --- actionpack/lib/action_dispatch/routing/route.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/lib/action_dispatch/routing/route.rb') diff --git a/actionpack/lib/action_dispatch/routing/route.rb b/actionpack/lib/action_dispatch/routing/route.rb index 08a8408f25..eae9d4ea6d 100644 --- a/actionpack/lib/action_dispatch/routing/route.rb +++ b/actionpack/lib/action_dispatch/routing/route.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/module/deprecation' + module ActionDispatch module Routing class Route #:nodoc: @@ -45,6 +47,7 @@ module ActionDispatch def to_a [@app, @conditions, @defaults, @name] end + deprecate :to_a def to_s @to_s ||= begin -- cgit v1.2.3