aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-08-07 06:13:01 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-08-07 06:13:01 +0000
commitc469e4653d104de9e941bb1369d772b6c01ca115 (patch)
treec00b3e402d3e7a7abbc650102dacd072d50131bc
parent2399a223c35622178ea58db6629cfd26f2230d60 (diff)
downloadrails-c469e4653d104de9e941bb1369d772b6c01ca115.tar.gz
rails-c469e4653d104de9e941bb1369d772b6c01ca115.tar.bz2
rails-c469e4653d104de9e941bb1369d772b6c01ca115.zip
it's me, john wayne
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/lib/action_controller/routing.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb
index 2911789892..5d5f1809b7 100644
--- a/actionpack/lib/action_controller/routing.rb
+++ b/actionpack/lib/action_controller/routing.rb
@@ -138,12 +138,6 @@ module ActionController
# Nest the body inside of a def block, and then compile it.
raw_method = method_decl = "def generate_raw(#{args})\npath = begin\n#{body}\nend\n[path, hash]\nend"
-# puts "\n======================"
-# puts
-# p self
-# puts
-# puts method_decl
-# puts
instance_eval method_decl, "generated code (#{__FILE__}:#{__LINE__})"
# expire_on.keys == recall.keys; in other words, the keys in the expire_on hash
@@ -193,12 +187,6 @@ module ActionController
# Build the method declaration and compile it
method_decl = "def recognize(path, env={})\n#{body}\nend"
-# puts "\n======================"
-# puts
-# p self
-# puts
-# puts method_decl
-# puts
instance_eval method_decl, "generated code (#{__FILE__}:#{__LINE__})"
method_decl
end