:confirm option is deprecated and will be removed from Rails 4.1. Use 'data: { confirm: 'Text' }' instead.
Merge pull request #476 from jasl/fix_deprecates

修改了最近版本中view里过时的用法