aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-03-27 22:23:32 +0200
committerXavier Noria <fxn@hashref.com>2011-04-13 13:24:32 +0200
commitd8f23ca627df85b33fe8db87db5483c10b62bfe6 (patch)
treea100e01ee7876d8b6b1fff67d2bae61f1646caa8 /actionpack/lib/action_view/base.rb
parent7c9d91f53eba513a7fb79fb9b01da2fa324c461f (diff)
downloadrails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.tar.gz
rails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.tar.bz2
rails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.zip
removes debug_rjs from ActionView::Base
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r--actionpack/lib/action_view/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb
index 5519103627..aefdb59e59 100644
--- a/actionpack/lib/action_view/base.rb
+++ b/actionpack/lib/action_view/base.rb
@@ -157,11 +157,6 @@ module ActionView #:nodoc:
class Base
include Helpers, Rendering, Partials, ::ERB::Util, Context
- # Specify whether RJS responses should be wrapped in a try/catch block
- # that alert()s the caught exception (and then re-raises it).
- cattr_accessor :debug_rjs
- @@debug_rjs = false
-
# Specify the proc used to decorate input tags that refer to attributes with errors.
cattr_accessor :field_error_proc
@@field_error_proc = Proc.new{ |html_tag, instance| "<div class=\"field_with_errors\">#{html_tag}</div>".html_safe }