active_model_serializers/test
Dan Gebhardt 3b1d2faf51 Append an _id or _ids suffix to associations' keys. Embed objects in root according to their serializers' names.
An `_id` suffix will be appended to the name of HasOne associations, while `_ids` will be appended to the singularized name of HasMany associations. Association keys can still be overridden with the `key` option.

Furthermore, objects embedded in the root are now by default named according to their serializer, instead of the key used for their associations.
2012-12-21 15:14:50 -05:00
..
array_serializer_test.rb move ArraySerializer tests into separate file 2012-11-20 10:58:16 -07:00
association_test.rb Append an _id or _ids suffix to associations' keys. Embed objects in root according to their serializers' names. 2012-12-21 15:14:50 -05:00
generators_test.rb Fix failing tests on Rails master 2012-11-25 14:56:58 -05:00
no_serialization_scope_test.rb Allows serialization_scope to be disabled with serialization_scope nil 2012-06-05 12:37:09 -04:00
serialization_test.rb Fix default_serializer_options, closes #112 & #113 2012-12-03 03:09:58 -08:00
serializer_support_test.rb Test : use a deducted serializer on non-ActiveRecord models 2012-12-20 17:06:19 +01:00
serializer_test.rb Append an _id or _ids suffix to associations' keys. Embed objects in root according to their serializers' names. 2012-12-21 15:14:50 -05:00
test_fakes.rb move test fakes to separate file 2012-11-20 10:44:23 -07:00
test_helper.rb match method should not be used for routes; instead, a specific HTTP method should be used 2012-09-20 21:17:07 -04:00