aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/ajax_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/ajax_helper.rb b/actionpack/lib/action_view/helpers/ajax_helper.rb
index 246ad10371..f4da540f42 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -79,7 +79,7 @@ module ActionView
options[:name] = name
<<-SCRIPT
- <script type="application/json" data-js-type="observe_field">
+ <script type="application/json" data-js-type="field_observer">
//<![CDATA[
#{options.to_json}
// ]]>