Krzysztof Rybka
37e0fdb0ee
Remove wrong quoting in serializers guide
2016-03-31 14:56:07 +02:00
Benjamin Fleischer
fa7b3afbfd
Prefer explicitly yielding the serializer, per groyoh
2016-03-30 14:01:28 -05:00
Marc Garreau
045fa9bc07
Adds polymorphic tests and documentation
2016-03-15 13:09:59 -06:00
Krzysztof Rybka
7c3f0ec6af
Remove wrong quoting in serializers guide
2016-03-14 15:00:46 +01:00
Benjamin Fleischer
26b089c881
Add serialization_scope example [ci skip]
2016-03-12 19:59:43 -06:00
Ben Mills
cc10928472
Provide Rails url_helpers via SerializationContext
2016-03-07 10:40:34 -07:00
Yohan Robert
727d7631ae
Add symbol support for ActiveModel::Serializer.type method
...
The ActiveModel::Serializer.type method now accepts symbol as paremeter:
class AuthorSerializer < ActiveModel::Serializer
type :profile
end
The test file for the type was also refactored.
2016-02-19 17:05:13 +01:00
Nate Sullivan
0a937a0fba
Use new block-based attribute override in docs
2016-01-23 18:59:18 -08:00
Nate Sullivan
da85d944d4
Remove unrelated code from attribute override examples
2016-01-23 18:50:18 -08:00
Benjamin Fleischer
dde843d162
Add serialization docs PR request note for conditional attributes
2016-01-13 10:19:07 -06:00
Benjamin Fleischer
ce17a1b305
[DOCS] Refactor, update, create documentation [ci skip]
2015-12-14 14:38:29 -06:00