RSS

Sam Schenkman-Moore's code snips

Mar 04

This is my best tip.

unfamiliar_object.methods - ”.methods # … typically 5-20 results

(unfamiliar_object.methods - ”.methods).sort # … in alphabetical order

:status => 422 is essential for handling errors with ActiveResource, though it's not included in scaffold_resource.