rails fast json 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