-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rendering a partial within a loop #5
Comments
I'll take a look today at your problem ... until I get that fixed, you could just skip the partial ... @children.each do |child| On Oct 29, 2011, at 11:23 PM, lagartoflojo wrote:
|
Thank you! |
Hi |
I have this working like this:
Not very efficient because Jsonify is converting the partial into a string and JSON.parse is converting it back into a hash, but it works. |
Hi,
I'm trying to render a partial multiple times (for the index action) and it's only returning the last item:
Partial _child.json.jsonify
File index.json.jsonify
Actual result:
Expected result:
I also tried:
But the result was:
The text was updated successfully, but these errors were encountered: