8000 Fix rails widget rendering to work with depends_on by sublogical · Pull Request #30 · erector/erector · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix rails widget rendering to work with depends_on #30

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

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

Conversation

sublogical
8000
Copy link

Currently the rails render widget code uses the view output buffer as the output buffer passed into Erector::Output. This causes the placeholder string to be copied into the output buffer as the header is rendered. This prevents the actual rendering of the dependencies from working later on in the process.

This change makes render widget use the default output buffer (an array) and then serializes it into the rails view output buffer when it's done.

…alizing to string until after the dependencies have been rendered
@ajb
Copy link
ajb commented Dec 19, 2013

Hey @sublogical, i'm currently working on a fork at https://github.com/adamjacobbecker/erector-rails4. I have an email in to Alex to see what we can do re: continuing support of this project. curious if you have a second -- can you provide some more details on how to recreate this bug?

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
0