We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 013f01d commit 33f08d9Copy full SHA for 33f08d9
1 file changed
README.md
@@ -21,6 +21,7 @@ Fast JSON API serialized 250 records in 3.01 ms
21
* [Features](#features)
22
* [Installation](#installation)
23
* [Usage](#usage)
24
+ * [Rails Generator](#rails-generator)
25
* [Model Definition](#model-definition)
26
* [Serializer Definition](#serializer-definition)
27
* [Object Serialization](#object-serialization)
@@ -55,6 +56,14 @@ $ bundle install
55
56
57
## Usage
58
59
+### Rails Generator
60
+You can use the bundled generator if you are using the library inside of
61
+a Rails project:
62
+
63
+ rails g Serializer Movie name year
64
65
+This will create a new serializer in `app/serializers/movie_serializer.rb`
66
67
### Model Definition
68
69
```ruby
0 commit comments