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

Allow strings as response without a wrapping tag. #241

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

jesusabarca
Copy link
Contributor

#240

The simplest way I could come up with that didn't required a major refactor, was to pass a wrap_response: false option to the render method in the controller:

render soap: response_string, wrap_response: false

What do you guys think? :)

Bumps up version of rails from 5.0.0 to 5.0.3
…onse

Adds option for returning single strings in the response
@@ -14,6 +14,6 @@ appraise "rails-4.2.0" do
end


appraise "rails-5.0.0" do
gem "rails", "5.0.0"
appraise "rails-5.0.3" do
Copy link
Contributor Author

@jesusabarca jesusabarca Aug 30, 2017

Choose a reason for hiding this comment

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

Bumps up version of rails from 5.0.0 to 5.0.3 to include a bug fix in the minitest plugin rails/rails#29022. This only prevents the test suit from crashing. This PR will fix this #238, so it's just a temporal fix.

@jesusabarca jesusabarca deleted the amco_cheddar branch October 24, 2017 15:19
@jesusabarca jesusabarca restored the amco_cheddar branch October 24, 2017 15:19
@jesusabarca jesusabarca reopened this Sep 26, 2019
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