active_model_serializers/lib/active_model
Benjamin Fleischer d7de53ce30 Consider evaluating association in serializer context
For discussion:

Consider evaluating association in serializer context

That way, associations are really just anything that
can be conditionally included.  They no longer
have to actually be methods on the object or serializer.

e.g.

```diff
has_many :comments do
- last(1)
+ Comment.active.for_serialization(object).last(1)
end
```
2015-12-29 22:16:42 -06:00
..
serializer Consider evaluating association in serializer context 2015-12-29 22:16:42 -06:00
serializable_resource.rb Clean up notification code with some meta-prog 2015-11-10 03:09:24 -06:00
serializer.rb Extract caching into its own module. 2015-12-28 02:53:49 +01:00