Persist bug should be fixed now.
Pass the Rails path to JS via data attr
Merge pull request #1523 from arkon94/persist

Fix for funky persist bug