Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README to write how to configure adapter #1758

Merged
merged 1 commit into from
May 30, 2016

Conversation

tricknotes
Copy link
Contributor

For the new user, how to customize adapter is an important concern.
Additionally, README says:

Check how to change the adapter in the sections below.

However how to change adapter was not documented anywhere.

@@ -96,6 +96,12 @@ Thanks!

## High-level behavior

Choise an adapter from [adapters](lib/active_model/serializer/adapter):
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli May 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choise should be Choose.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @NullVoxPopuli !
I fixed it 🔧 90cfa92

@NullVoxPopuli
Copy link
Contributor

I'm surprised that wasn't already on that document. nice catch!

@tricknotes tricknotes force-pushed the how-to-configure-adapter branch from 8570d49 to 90cfa92 Compare May 30, 2016 18:47
@@ -96,6 +96,12 @@ Thanks!

## High-level behavior

Choose an adapter from [adapters](lib/active_model/serializer/adapter):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapters have been migrated to lib/active_model_serializers/adapter IIRC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch! That's right.

@tricknotes tricknotes force-pushed the how-to-configure-adapter branch from 90cfa92 to dfd9cf9 Compare May 30, 2016 19:24
@NullVoxPopuli
Copy link
Contributor

LGTM, @tricknotes, thanks for the update!

@NullVoxPopuli NullVoxPopuli merged commit 4f08544 into rails-api:master May 30, 2016
@tricknotes tricknotes deleted the how-to-configure-adapter branch May 31, 2016 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants