Update the error collection defaulting and pass parameters to methods that want them. Returning self.errors is best because that has the errors already and is an initialized collection. The method_missing method does not pass arguments to methods that want them, so json_api_client's calling of update_attributes does not work because nothing is passed to it.  Now we pass along an argument if a method can handle one.
Update the error collection defaulting and pass parameters to methods that want them.
Returning self.errors is best because that has the errors already and is an initialized collection.
The method_missing method does not pass arguments to methods that want them, so json_api_client's calling of update_attributes does not work because nothing is passed to it.  Now we pass along an argument if a method can handle one.

avvo/json_api_resource,sringling/json_api_resource