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

api_taster (~> 0.8.4) depends on rails (~> 4.1.0). Cannot be used with Rails 4.2 #63

Open
nileshtrivedi opened this issue Mar 4, 2015 · 4 comments

Comments

@nileshtrivedi
Copy link

And therefore, Bundler ends up using version 0.6.0 instead. Looks like a fresh gem needs to be minted.

@mariochavez
Copy link
Collaborator

Hello @nileshtrivedi is more than just bumping versions. There are changes in rails 4.2 that will requiere changes on api_taster.

Looks like form_builder in Rails 4.2 did change and is causing an issue with api_taster form_builder.rb

undefined local variable or method `flush_output_buffer' for

I'll try to take a look on this by the weekend.

@ArneZsng
Copy link

Any updates here?

@astr0gator
Copy link

Hi folks! 4.2. is quite widespread today. Any news on that issue? @fredwu @mariochavez

@omerpucit
Copy link

This issue is relate to this class

http://www.rubydoc.info/docs/rails/3.1.1/ActionView/Helpers/CaptureHelper#flush_output_buffer-instance_method

just download the source code and add method inside form_builder.rb file

For the time being if you just do like

def flush_output_buffer
if output_buffer && !output_buffer.empty?
response.body_parts << output_buffer
self.output_buffer = output_buffer[0,0]
nil
end
end

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

No branches or pull requests

5 participants