method

serializable_add_includes

serializable_add_includes(options = {})
private

Add associations specified via the :include option.

Expects a block that takes as arguments:

+association+ - name of the association
+records+     - the association record(s) to be serialized
+opts+        - options for the association records