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

Better serializer registration, get more than just the first module #1172

Merged
merged 1 commit into from
Sep 18, 2015

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Sep 17, 2015

But is potentially breaking anyone on rc3, but the fix is just
to manually register the adapter with the rc3-style name

@@ -77,7 +81,7 @@ def find_by_name(adapter_name)

# Automatically register adapters when subclassing
Copy link
Contributor

Choose a reason for hiding this comment

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

that's pretty cool.

@NullVoxPopuli
Copy link
Contributor

looks like there was an error with a bunch of the tests.

@NullVoxPopuli
Copy link
Contributor

all on rails 4.0

@bf4
Copy link
Member Author

bf4 commented Sep 17, 2015

history got borked somehwere

@NullVoxPopuli
Copy link
Contributor

:-(

@bf4 bf4 force-pushed the better_adapter_registration branch from 073d9f2 to c2536b0 Compare September 17, 2015 19:47
@bf4
Copy link
Member Author

bf4 commented Sep 17, 2015

fixed

@bf4
Copy link
Member Author

bf4 commented Sep 17, 2015

Weird appveyor fails on SimpleCov 58% on Rails 4.0.. no idea why

@NullVoxPopuli
Copy link
Contributor

Travis is still failingmon rails 4.0 as well.

Can you run against 4.0 locally and see if that'll give you any insight?

crosses fingers

@bf4
Copy link
Member Author

bf4 commented Sep 18, 2015

@NullVoxPopuli Since it's different, I usually develop with export RAILS_VERSION=4.0, looks like I forgot

@bf4 bf4 force-pushed the better_adapter_registration branch 2 times, most recently from 4f22e94 to edf30bb Compare September 18, 2015 04:09
But is potentially breaking anyone on rc3, but the fix is just
to manually register the adapter with the rc3-style name
@bf4 bf4 force-pushed the better_adapter_registration branch from edf30bb to eb1264a Compare September 18, 2015 04:33
@NullVoxPopuli
Copy link
Contributor

Thanks for fixing!

NullVoxPopuli added a commit that referenced this pull request Sep 18, 2015
Better serializer registration, get more than just the first module
@NullVoxPopuli NullVoxPopuli merged commit 701eb17 into rails-api:master Sep 18, 2015
@bf4 bf4 deleted the better_adapter_registration branch September 18, 2015 15:46
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.

None yet

2 participants