aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/debugging_rails_applications.textile
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 /railties/guides/source/debugging_rails_applications.textile
parent7c9d91f53eba513a7fb79fb9b01da2fa324c461f (diff)
downloadrails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.tar.gz
rails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.tar.bz2
rails-d8f23ca627df85b33fe8db87db5483c10b62bfe6.zip
removes debug_rjs from ActionView::Base
Diffstat (limited to 'railties/guides/source/debugging_rails_applications.textile')
-rw-r--r--railties/guides/source/debugging_rails_applications.textile20
1 files changed, 0 insertions, 20 deletions
diff --git a/railties/guides/source/debugging_rails_applications.textile b/railties/guides/source/debugging_rails_applications.textile
index 045b8823ca..fb17dccfb8 100644
--- a/railties/guides/source/debugging_rails_applications.textile
+++ b/railties/guides/source/debugging_rails_applications.textile
@@ -96,26 +96,6 @@ Will be rendered as follows:
Title: Rails debugging guide
</pre>
-h4. Debugging RJS
-
-Rails has optional built-in support to debug RJS. When enabled, responses are wrapped in a try/catch block that displays the caught exception using +alert()+, and then re-raises it.
-
-The flag to enable RJS debugging in your configuration files is +config.action_view.debug_rjs+:
-
-<ruby>
-config.action_view.debug_rjs = true
-</ruby>
-
-or at any time setting +ActionView::Base.debug_rjs+:
-
-<ruby>
-ActionView::Base.debug_rjs = true
-</ruby>
-
-It is enabled by default in development mode, and disabled in the rest.
-
-TIP: For more information on debugging JavaScript, refer to "Firebug":http://getfirebug.com/, the popular debugger for Firefox.
-
h3. The Logger
It can also be useful to save information to log files at runtime. Rails maintains a separate log file for each runtime environment.