-
Notifications
You must be signed in to change notification settings - Fork 29
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
NoMethodError on partials when upgrading to rabl 0.11.2 and above #31
Comments
Looks like a legit problem. Maybe you can PR an update to rabl in this project that reproduces the problem, to start? |
Sure. I'll prepare a spec for this case if the current specs do not catch On Mon, Nov 24, 2014 at 3:28 PM, Daniel Doubrovkine (dB.) @dblockdotorg <
רונן מולדובן מנחה סדנאות, מטפל בתטא-הילינג, מאמן אישי ועסקי מייסד ומנהל בית גשרים --- @ WiseStamp Signature |
Same error. Reverting to 0.11.1 resolves it. |
@phallstrom @ronenm do you use Related: nesquena/rabl#597 |
@LTe Yes to grape-rabl, No to sinatra. |
No not using it with Sinatra.
|
@ronenm @phallstrom @dblock I created pull request to rabl. This should fix problem. Related: nesquena/rabl#602 |
@LTe, I fetched your pull request to a local path and can confirm that the issue has been solved with it. Waiting for the release of rabl that will include this fix. Many thanks for the help. |
The PR has been merged into rabl! A new release will be issued soon. |
Are we saying this can be closed once that is released? |
@dblock already released nesquena/rabl@34cd122 Do you think that we should bump dependency for rabl to |
Sure. I will close once I check it with the official release. On Sat, Dec 6, 2014 at 2:02 AM, Daniel Doubrovkine (dB.) @dblockdotorg <
רונן מולדובן מנחה סדנאות, מטפל בתטא-הילינג, מאמן אישי ועסקי מייסד ומנהל בית גשרים --- @ WiseStamp Signature |
Everything's working fine with Rabl 0.11.5 |
Hi,
I'm using the following (and other) partial in my rabl views for grape:
When upgrading to the latest rabl (0.11.4) I noticed that I'm starting to get the following error message:
NoMethodError (undefined method
views' for #<Grape::Util::HashStack:0x007ffb4d9d08a0>): app/views/api/partner.rabl:7:in
block in eval_source'Going backward I saw that this error message started to appear at rabl 0.11.2 (it works fine in 0.11.1).
Thanks,
Ronen
The text was updated successfully, but these errors were encountered: