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

Reimplement serialization scope and scope_name #811

Merged
merged 2 commits into from
Mar 10, 2015

Conversation

mateomurphy
Copy link
Contributor

I've more or less directly dropped in the code, and I'm open to discussing alternate approaches; I will provide tests once the direction is settled.

@joshsmith
Copy link
Contributor

This looks pretty straightforward to me.

@kurko what do you think?

@joshsmith
Copy link
Contributor

This is probably the only thing keeping me from upgrading to AMS master.

I'd like thoughts from @kurko or @guilleiguaran or @joaomdmoura before just giving this the 👍

end

def serialization_scope
send(_serialization_scope) if _serialization_scope &&
Copy link
Member

Choose a reason for hiding this comment

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

if possible, use public_send instead 😄

@joshsmith
Copy link
Contributor

Thanks for help @joaomdmoura 🍻

@joaomdmoura
Copy link
Member

No worries. You can count on me 🍻

guilleiguaran added a commit that referenced this pull request Mar 10, 2015
Reimplement serialization scope and scope_name
@guilleiguaran guilleiguaran merged commit d55f3b3 into rails-api:master Mar 10, 2015
@mateomurphy mateomurphy deleted the scope branch March 10, 2015 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants