diff --git a/guides/source/ajax_on_rails.textile b/guides/source/ajax_on_rails.textile index 0787e65068583..c7b05270120ed 100644 --- a/guides/source/ajax_on_rails.textile +++ b/guides/source/ajax_on_rails.textile @@ -107,7 +107,7 @@ will produce button_to 'Destroy', 'http://www.example.com', confirm: 'Are you sure?', - method: 'delete', remote: true, data: { disable-with: 'loading...' } + method: 'delete', remote: true, data: { disable_with: 'loading...' } will produce