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

Remove JsonOutput.escape workaround for Rails < 4.1.1 #1580

Merged
merged 4 commits into from
Nov 15, 2023
Merged

Remove JsonOutput.escape workaround for Rails < 4.1.1 #1580

merged 4 commits into from
Nov 15, 2023

Conversation

wwahammy
Copy link
Contributor

@wwahammy wwahammy commented Nov 4, 2023

Summary

I noticed that JsonOutput.escape had a workaround for Rails < 4.1.1. Since the minimum supported Rails version for the gem is greater than that, it doesn't seem like this needs to be there.

Addititionally, I removed the Utils.rails_version_less_than_4_1_1 method since that was the only place it was used

Pull Request checklist

  • Add/update test to cover these changes
  • Update documentation
  • Update CHANGELOG file

Other Information

N/A


This change is Reviewable

@wwahammy wwahammy marked this pull request as draft November 4, 2023 17:42
@wwahammy wwahammy marked this pull request as ready for review November 4, 2023 17:50
@justin808
Copy link
Member

@wwahammy Nice catch. How did you find this?

@wwahammy
Copy link
Contributor Author

wwahammy commented Nov 7, 2023

@wwahammy Nice catch. How did you find this?

I was curious how the JSON output code worked because I needed something like it for a non-React on Rails project. I just noticed it when I got there.

@Judahmeek Judahmeek changed the base branch from master to judahmeek/puma November 14, 2023 22:23
@Judahmeek Judahmeek deleted the branch shakacode:master November 15, 2023 17:39
@Judahmeek Judahmeek closed this Nov 15, 2023
@Judahmeek Judahmeek reopened this Nov 15, 2023
@Judahmeek Judahmeek changed the base branch from judahmeek/puma to master November 15, 2023 18:10
@Judahmeek Judahmeek merged commit 99be556 into shakacode:master Nov 15, 2023
19 checks passed
@Judahmeek
Copy link
Contributor

@wwahammy thank you for your contribution.

@wwahammy wwahammy deleted the remove-erb-util-workaround-for-rails-4.1.0 branch November 15, 2023 19:38
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