8 Jahre


das kleine Salzburger Qualitätsstudio für Grafik, Code & Kommunikation

24. Februar 2015

Rails 4: jQuery fires form submit twice

I am currently developing a rails application where I use remote (AJAX) calls to submit forms. But the forms got submitted twice and thus I had duplicate entries in my database.

I studied the following resources:

For me, it turned out, the solution was as simple as clearing the entire public/assets-directory: rm -r public/assets/.