active_model_serializers/lib/active_model/serializer
Jiajia Wang 7faa5e8e2e Bug fix for ArraySerializer json_key
When the resource is a zero result query,
i.e. post_comments = PostComment.where("1=0")
the json_key will become 'postcomments' rather than 'post_comments'.
Using 'underscore' instead of 'downcase' fixes the error.
2015-07-15 10:11:06 +10:00
..
adapter Add key option to serializer associations 2015-07-05 19:47:58 -03:00
adapter.rb Default the generated cache key to use custom #strftime instead of raw #to_s to achieve more accurate precision 2015-06-25 23:40:18 -04:00
array_serializer.rb Bug fix for ArraySerializer json_key 2015-07-15 10:11:06 +10:00
configuration.rb enabling flatten json as default adapter 2015-06-15 13:49:24 -03:00
fieldset.rb pluralising root key when using arraySerializer 2015-06-15 15:59:01 -03:00
lint.rb Add linter for serializable resource 2015-07-09 11:20:19 -05:00
railtie.rb Make resource generator invoke serializer generator 2015-06-10 20:45:33 -03:00
version.rb Bumps to 0.10.0.rc1 2015-04-22 03:06:06 -03:00