We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
I render partial, and I want to get rid of it.
I tried using:
json.array! @posts, partial: 'posts/post', as: :post json.partial! 'posts/post', collection: @posts, as: :post json.partial! partial: 'posts/post', collection: @posts, as: :post json.comments @post.comments, partial: 'comments/comment', as: :comment
But all is useless How to be?
P.S. my code
json.data do json.array! @manager.resources, partial: 'workers/orders/order', as: :order end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
I render partial, and I want to get rid of it.
I tried using:
But all is useless
How to be?
P.S. my code
The text was updated successfully, but these errors were encountered: