Flowdock
method

type_conflict!

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::UrlEncodedPairParser
type_conflict!(klass, value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/request.rb, line 833
      def type_conflict!(klass, value)
        raise TypeError, "Conflicting types for parameter containers. Expected an instance of #{klass} but found an instance of #{value.class}. This can be caused by colliding Array and Hash parameters like qs[]=value&qs[key]=value. (The parameters received were #{value.inspect}.)"
      end
Register or log in to add new notes.