aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_view')
-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 b94eb6c973..8707378738 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -102,7 +102,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}
// ]]>