confirm option is deprecated

for rails 4.1 compliance using data: {confirm: …}