Use proper casing on generator example

`rails g Serializer` isn't a valid command, serializer shouldn't be capitalized.
This commit is contained in:
Alessio Fanelli 2018-04-20 14:37:56 +02:00 committed by GitHub
parent 18d30f228e
commit 01ac9ccbe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ $ bundle install
You can use the bundled generator if you are using the library inside of You can use the bundled generator if you are using the library inside of
a Rails project: a Rails project:
rails g Serializer Movie name year rails g serializer Movie name year
This will create a new serializer in `app/serializers/movie_serializer.rb` This will create a new serializer in `app/serializers/movie_serializer.rb`