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?