fast json api relationsihp rails code example
Example: how to generate a serializer fast json api
rails g serializer Movie name year
# Movie is the title
# name and year are the attributes
rails g serializer Movie name year
# Movie is the title
# name and year are the attributes