active_model_serializers/lib/active_model/serializer
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
..
adapter Fix bug displaying nil for relationship link href 2016-02-15 09:26:53 +01: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 Add support for relationship-level links and meta. 2016-01-21 02:36:54 +01:00
associations.rb Replace Field#included? with Field#excluded?. 2016-01-13 06:20:05 +01:00
attribute.rb Factor out ancestor class Field of Attribute and Reflection. 2016-01-13 06:20:04 +01:00
attributes.rb Replace Field#included? with Field#excluded?. 2016-01-13 06:20:05 +01: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 Don't pluralize the CollectionSerializer#root for #json_key 2016-01-12 09:32:43 -08:00
configuration.rb Create assert_response_schema test helper 2016-01-15 00:45:56 -06:00
field.rb Replace Field#included? with Field#excluded?. 2016-01-13 06:20:05 +01: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
links.rb Fix comment. 2016-01-13 05:41:32 +01:00
lint.rb Tidy up the tests 2016-01-07 11:21:19 -08:00
meta.rb Clean up meta handling. 2016-01-20 01:00:14 +01:00
reflection.rb Fix relationship behavior when using block 2016-02-10 21:04:37 +01:00
singular_reflection.rb Associations refactoring 2015-07-30 11:20:29 +03:00
type.rb Add symbol support for ActiveModel::Serializer.type method 2016-02-19 17:05:13 +01:00
version.rb releaseing new version RC4 2016-01-27 10:03:01 -05:00