From 6964d5da9a4e30d50de0e160cb15a9e65eca6901 Mon Sep 17 00:00:00 2001 From: Genadi Samokovarov Date: Sun, 24 Aug 2014 17:04:11 +0300 Subject: [PATCH] Describe web-console in the release notes [ci skip] I put a more up-to-date description of Web Console in the release notes. I'm not really happy with the language, so if you guys can help me with that I'll be grateful :) --- guides/source/4_2_release_notes.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index 39655447e3..dfc1876c95 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -63,10 +63,20 @@ TODO: add some technical details New applications generated from Rails 4.2 now comes with the Web Console gem by default. -Web Console is an IRB console available in the browser. In development mode, you -can go to /console and do your work right there. It will also be made available -on all exception pages and allows you to jump between the different points in -the backtrace. +Web Console is a set of debugging tools for your Rails application. It comes +with an interactive console for every error page, a `console` view helper and +VT100 compatible terminal. + +The interactive console on the error pages let you execude code where the +exception originated. Its quite handy to introspect the state that let to that +error. + +The `console` view helper launches an interactive console with the context of +the view right on the page its invoked on. + +Finally, you can lunch a VT100 terminal that runs `rails console`. If you need +to create or modify existing test data, you can do that straight from the +browser. ### Foreign key support -- GitLab