Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using ActiveSupport#on_load instead of send :require to boot.

  • Loading branch information...
commit d9311c5ab5f6a8ce42ce47c1e1359574691b753a 1 parent d854a6f
@kreeger kreeger authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/action_controller/parameters.rb
View
2  lib/action_controller/parameters.rb
@@ -265,4 +265,4 @@ def params=(val)
end
end
-ActionController::Base.send :include, ActionController::StrongParameters
+ActiveSupport.on_load(:action_controller) { include ActionController::StrongParameters }
Please sign in to comment.
Something went wrong with that request. Please try again.