diff options
author | Egor Homakov <homakov@gmail.com> | 2012-03-13 15:13:05 +0400 |
---|---|---|
committer | Egor Homakov <homakov@gmail.com> | 2012-03-13 15:13:05 +0400 |
commit | 829e3797002c960fdd4fb0f94455dcd728a3d606 (patch) | |
tree | 86e6565740b045ca55058e8102f35fa262bc29a8 | |
parent | ce72c0c784c877cc609936643d71c52724582188 (diff) | |
download | rails-829e3797002c960fdd4fb0f94455dcd728a3d606.tar.gz rails-829e3797002c960fdd4fb0f94455dcd728a3d606.tar.bz2 rails-829e3797002c960fdd4fb0f94455dcd728a3d606.zip |
'module' is reserved word. Sample of code with error - not cool.
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 95de595f4f..6ce78f34b5 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -174,8 +174,8 @@ module ActionController # Shortcut helper that returns all the ActionController modules except the ones passed in the argument: # # class MetalController - # ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |module| - # include module + # ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |left| + # include left # end # end # |