render_sync
render_sync copied to clipboard
Is it possible to pass a variable to the sync partial?
I set an instance variable in my controller action to decide whether to hide/show some information in my sync partial.
I found that this instance variable is empty when sync_new is called elsewhere to append a new model to my table. How can I solve this issue?