private Method

UrlEncodedPairParser.type_conflict!(klass, value)

There's no documentation for this item.

Source Code

# File action_controller/request.rb, line 692
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."
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.