active model serializer relationship code example
Example: active model serializer
gem 'active_model_serializers'
add this to your gemfile in rails, then run bundle install.
gem 'active_model_serializers'
add this to your gemfile in rails, then run bundle install.