From d8f23ca627df85b33fe8db87db5483c10b62bfe6 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 27 Mar 2011 22:23:32 +0200 Subject: removes debug_rjs from ActionView::Base --- .../source/debugging_rails_applications.textile | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'railties/guides/source/debugging_rails_applications.textile') 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 -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+: - - -config.action_view.debug_rjs = true - - -or at any time setting +ActionView::Base.debug_rjs+: - - -ActionView::Base.debug_rjs = true - - -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. -- cgit v1.2.3