Attempt to fix an issue with rails form submission