Generates a reporter function that takes the model object and returns the named attribute of the model.
Parameters#
key — str, required
The name of the model property the generated function should return.
Return Value — func(Model)#
A function that takes the model object and returns the key
property of the model object.
Notes and Examples#