Skip to content

Commit a3fe031

Browse files
author
jeffrey008
authored
Fix readme in 0.9
There is no `@options` in 0.9, but `@serialization_options` instead. Changed readme to stop confusing people.
1 parent 2eb57af commit a3fe031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ it exists, use it to serialize the `Post`.
8585

8686
This also works with `respond_with`, which uses `to_json` under the hood. Also
8787
note that any options passed to `render :json` will be passed to your
88-
serializer and available as `@options` inside.
88+
serializer and available as `@serialization_options` inside.
8989

9090
To specify a custom serializer for an object, you can specify the
9191
serializer when you render the object:

0 commit comments

Comments
 (0)