Make it possible to supply default serializer
options in a controller.
remove scope as a separate concept and pass it in
as an option.
Allow serializers to receive instructions to
explicitly include or exclude specific lists of
Write more tests
Test custom embed options per association
Clean up pending tests
Making include_associations! a public API
Encapsulate more concerns in the associations.
Simplify association call signature
Remove dead code.
serializable_hash should just call include!
Make it easier to look up associations by name.
* Changed associations to be classes
* remove @hash and always use @options[:hash]
* pass serializer options down to child serializers
Test that has_one works.
If an existing association exists, use it to
get the value if none was provided.
HasOne associations work
Start cleaning up serializers to support
This process involves building a few lower-level
primitives so not as much logic is hardcoded in
monolithic helper methods.
Check for respond_to? :to_ary instead of being
with ember :ids, :include => true, has_one
associations should include plural versions at
the root, not singular ones.
Merge pull request #24 from Adman65/polymorphic-associations
Add test cases for nil polymorphic associations
Add polymorphic key to utility method
In a controller, the current controller name should be the default ro…
…ot for collections
The Array serializer should not make a child root for every item in t…
Improve polymorphic associations
Fix constant lookup when serializer is not available.
Remove implicit constant lookup in serializers in favor active_model_…
Allow as_json(true) to be given.
Pull in upstream
we use textile, not markdown, duh