If I try outside the controller it works:
using ParamsExtension
class ApplicationController
If I try inside the controller or an action it does not work:
class ApplicationController
using ParamsExtension
It throws 'undefined method `using'.
I read this article and the author is using it inside a class: timelessrepo.com/refinements-in-ruby
I read the following from the documentation:
http://www.ruby-doc.org/core-2.1.1/doc/syntax/refinements_rdoc.html