active_response 0.0.1
DRY your controllers and make your API more predictable by defining responders for different formats. E.g. Posting an invalid resource in HTML should render a form with errors, while in JSON you expect serialized errors.
Gemfile:
=
安装:
=
Runtime 依赖 (2):
active_model_serializers
~> 0.10
railties
>= 4.2.0, < 6
Development 依赖 (2):
rspec-rails
= 3.7.2
rubocop
= 0.58.2