active_model_serializers/lib/active_model/serializer
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
..
adapter [DOCS] Refactor, update, create documentation [ci skip] 2015-12-14 14:38:29 -06:00
adapter.rb Enforce Rails-style (line-count-based) block style 2015-09-21 00:00:53 -05:00
array_serializer.rb Test ArraySerializer less rigorously on Minitest 4 2015-11-08 23:12:56 -06:00
association.rb Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00
associations.rb Refactor Association/Reflection block value reading 2015-12-03 10:53:43 -06:00
attributes.rb Document Serializer settings and private api [ci skip] 2015-12-10 15:08:22 -06:00
belongs_to_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
caching.rb Extract caching into its own module. 2015-12-28 02:53:49 +01:00
collection_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
collection_serializer.rb Rename ArraySerializer to CollectionSerializer for clarity 2015-10-21 16:53:26 -05:00
configuration.rb Add config.serializer_lookup_enabled that defaults true 2015-11-30 00:20:58 -06:00
fieldset.rb Initialize fieldset. 2015-10-25 19:56:43 +01:00
has_many_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
has_one_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
include_tree.rb Add test and bugfix to include an array of string 2015-11-06 17:23:25 +01:00
lint.rb Add PORO serializable base class: ActiveModelSerializers::Model 2015-10-14 21:33:02 -05:00
railtie.rb Move caching initialization to Railtie 2015-11-25 21:56:01 -06:00
reflection.rb Consider evaluating association in serializer context 2015-12-29 22:16:42 -06:00
singular_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
version.rb updating version to new release 2015-09-16 12:19:44 -03:00