Architectural style created by Roy Fielding
You can disable the wrap parameters feature in an individual controller:
class BirdsController < ApplicationController
wrap_parameters format: []
end
You can also disable it for all controllers if you like, by going into the config/initializers/wrap_parameters.rb file and updating it like so:
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: []
end
Top comments (0)