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

Improve Process::Status#to_json #7654

Merged
merged 1 commit into from Sep 15, 2012
Merged

Improve Process::Status#to_json #7654

merged 1 commit into from Sep 15, 2012

Conversation

steveklabnik
Copy link
Member

Because Process::Status has no instance_variables, the
ActiveSupport version of #to_json produces {}, which isn't good.

Therefore, we implement our own #as_json, which makes it useful
again.

Fixes #4857

Because Process::Status has no instance_variables, the
ActiveSupport version of #to_json produces {}, which isn't good.

Therefore, we implement our own #as_json, which makes it useful
again.

Fixes rails#4857
fxn added a commit that referenced this pull request Sep 15, 2012
Improve Process::Status#to_json
@fxn fxn merged commit 3ec6783 into rails:master Sep 15, 2012
@steveklabnik
Copy link
Member Author

❤️ ❤️ ❤️

@rafaelfranca
Copy link
Member

❤️

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.

Rails makes Process::Status#to_json less useful
3 participants