The recorder could be implemented using an "around" filter enabled only if an environment variable is set. This filter would log all requests/responses sent/receive while the test suite is running. Thanks to this log it could them insert in controllers code the beginning of a documentation code.
The recorder could be implemented using an "around" filter enabled only if an environment variable is set. This filter would log all requests/responses sent/receive while the test suite is running. Thanks to this log it could them insert in controllers code the beginning of a documentation code.