Ticket #7962: display_unparseable_value_and_correct_spelling_error_on_cgi_type_conflict.diff
| File display_unparseable_value_and_correct_spelling_error_on_cgi_type_conflict.diff, 0.7 kB (added by spicycode, 1 year ago) |
|---|
-
actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
old new 204 204 raise TypeError, 205 205 "Conflicting types for parameter containers. " + 206 206 "Expected an instance of #{klass}, but found an instance of #{value.class}. " + 207 "This can be caused by passing Array and Hash based paramters qs[]=value&qs[key]=value. " 207 "This can be caused by passing Array and Hash based parameters qs[]=value&qs[key]=value. " + 208 "The parameters received were #{value}." 208 209 end 209 210 210 211 end