Closed
Description
In version 0.8.x it was possible to dynamically exclude certain attributes by implementing include_<name>?
and returning false. In 0.9.x the same could be achieved with the filter(keys)
method. For 0.10.0.rc3 this SO answer suggests overwriting the attributes
method but that requires the attribute to exist anyway (and it is fetched always, even when excluded, which is not ideal from a performance point of view).
What is the recommended way to filter attributes (e.g. based on the current user, or options passed from the view) in 0.10.0.rc3 using the standard attributes adapter?