SweetAlert Rails integration