Skip to content

Commit 0e502e0

Browse files
committed
Merge pull request rails#5407 from homakov/patch-1
'module' is reserved word. Sample of code with error - not cool.
2 parents ce72c0c + 829e379 commit 0e502e0

File tree

1 file changed

+2
-2
lines changed
  • actionpack/lib/action_controller

1 file changed

+2
-2
lines changed

actionpack/lib/action_controller/base.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ class Base < Metal
174174
# Shortcut helper that returns all the ActionController modules except the ones passed in the argument:
175175
#
176176
# class MetalController
177-
# ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |module|
178-
# include module
177+
# ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |left|
178+
# include left
179179
# end
180180
# end
181181
#

0 commit comments

Comments
 (0)