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

Define as_json instead of to_json #714

Merged
merged 1 commit into from
Nov 4, 2014
Merged

Define as_json instead of to_json #714

merged 1 commit into from
Nov 4, 2014

Conversation

guilleiguaran
Copy link
Member

As @chancancode mentioned in ohler55/oj#199 (comment), we should define as_json, no to_json, the latter should be called by ActiveSupport, no defined here directly

/cc @chancancode

@chancancode
Copy link
Contributor

❤️

@locks
Copy link

locks commented Nov 3, 2014

JRuby is pooping out for some reason, but I'm guessing the tests would pass?

@carlosantoniodasilva
Copy link
Member

@locks some installation issue apparently, just restarted the failed job.

carlosantoniodasilva added a commit that referenced this pull request Nov 4, 2014
Define as_json instead of to_json
@carlosantoniodasilva carlosantoniodasilva merged commit 8374396 into rails-api:master Nov 4, 2014
@carlosantoniodasilva
Copy link
Member

All green 💚💛❤️💙💜

@locks
Copy link

locks commented Nov 4, 2014

👍

@guilleiguaran guilleiguaran deleted the to-json-as-json branch November 4, 2014 01:31
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

4 participants