diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-24 23:38:59 +0200 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-24 23:38:59 +0200 |
commit | d182b6ee9c99901553e6e948f91102d03bb041b0 (patch) | |
tree | 136116fbbd3205946cbacf57273501c3675458aa /actionpack/lib/action_dispatch/routing | |
parent | 90f59b24dc994b0edca22dbed30846738ddcc41d (diff) | |
download | rails-d182b6ee9c99901553e6e948f91102d03bb041b0.tar.gz rails-d182b6ee9c99901553e6e948f91102d03bb041b0.tar.bz2 rails-d182b6ee9c99901553e6e948f91102d03bb041b0.zip |
removed deprecated methods, and related tests, from ActionPack
Diffstat (limited to 'actionpack/lib/action_dispatch/routing')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route.rb b/actionpack/lib/action_dispatch/routing/route.rb index a049510182..10b3d38346 100644 --- a/actionpack/lib/action_dispatch/routing/route.rb +++ b/actionpack/lib/action_dispatch/routing/route.rb @@ -1,5 +1,3 @@ -require 'active_support/core_ext/module/deprecation' - module ActionDispatch module Routing class Route #:nodoc: @@ -47,11 +45,6 @@ module ActionDispatch @segment_keys ||= conditions[:path_info].names.compact.map { |key| key.to_sym } end - def to_a - [@app, @conditions, @defaults, @name] - end - deprecate :to_a - def to_s @to_s ||= begin "%-6s %-40s %s" % [(verb || :any).to_s.upcase, path, requirements.inspect] |