Figured it out! Assets were not compiling correctly. Ignore my previous comment, although this showed me how hard this was to debug. Thanks for the great learning resources Ryan.
Everything works for me as it should, locally. When I push to heroku, the add question button does not work... It just redirects me to the '#'. I am having issues with it randomly locally, but if I change the class name in the js and helper to 'add_field' from 'add_fields', everything seems to work fine.
First I had an issue with the page caching and every question and answer was created twice.
3 days of troubleshooting now. Good technique, but Cocoon may be the way to go with this one.
Figured it out! Assets were not compiling correctly. Ignore my previous comment, although this showed me how hard this was to debug. Thanks for the great learning resources Ryan.
Everything works for me as it should, locally. When I push to heroku, the add question button does not work... It just redirects me to the '#'. I am having issues with it randomly locally, but if I change the class name in the js and helper to 'add_field' from 'add_fields', everything seems to work fine.
First I had an issue with the page caching and every question and answer was created twice.
3 days of troubleshooting now. Good technique, but Cocoon may be the way to go with this one.