method

serializable_add_includes

Importance_1
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
Show source
Register or log in to add new notes.