require 'active_support/core_ext/module/attr_internal' require 'params_inquirer/parameters' module ParamsInquirer module ActionController module Base attr_internal :params def params @_params ||= ParamsInquirer::Parameters.new(super) end end end end