roundlake/wash_out — pull request #67 by rking (2012-10-22 20:08:05+00:00)
Title: Improve error messages for programmer mistakes.

1. For when an Array is expected but you pass a Hash

Before, its error message came from implicit conversion of the hash key
into an Integer by its use as an index on the Array.

This is to work with the type of XML that is fairly common, e.g.:

a
b
c

But it is easy to mess up the format in the render :soap.

2. For when an Array is expected but you pass a String

This was silently discarding the value. Now it raises an exception.