Created
March 15, 2016 12:21
-
-
Save hchood/12aaa3a3feed7098bf42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/serializers/base_serializer.rb | |
class BaseSerializer < ActiveModel::Serializer | |
attributes :id, :created_at, :updated_at | |
embed :ids | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment