remove action and controller from your rails params
add this line to your application's Gemfile:
gem "gatleon-rails"
and then execute:
$ bundle install
add to your application_controller.rb
class ApplicationController < ActionController::Base
include Gatleon::Params2
...
def some_action
params2 # access params2 (query and post params from request - but without action, controller keys.)
end
end
the gem is available as open source under the terms of the MIT License.