aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2017-06-12 12:33:04 +0300
committerGenadi Samokovarov <gsamokovarov@gmail.com>2017-06-12 12:33:04 +0300
commitd6581782e91d02352bb94847bd6902afdd230b73 (patch)
treec6288de14a2f2528fb7c2cd99d7de433c8d9aafa /railties
parentf81f840c02cff34c169e6fca348fab9a372c8372 (diff)
downloadrails-d6581782e91d02352bb94847bd6902afdd230b73.tar.gz
rails-d6581782e91d02352bb94847bd6902afdd230b73.tar.bz2
rails-d6581782e91d02352bb94847bd6902afdd230b73.zip
Drop IRB out of the web-console Gemfile comment
We don't provide exactly the same experience as IRB does, so let's not advertize it like that. We can say that it's an interactive console, without further references. I have also followed byebug's comment and changed the calling `console` part. Hopefully, this can hint that the invocation is not view specific and you can use it like the debugger statement. [ci skip]
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile
index 747d2e6253..64e2062aea 100644
--- a/railties/lib/rails/generators/rails/app/templates/Gemfile
+++ b/railties/lib/rails/generators/rails/app/templates/Gemfile
@@ -37,7 +37,7 @@ end
group :development do
<%- unless options.api? -%>
- # Access an IRB console on exception pages or by using <%%= console %> anywhere in the code.
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
<%- if options.dev? || options.edge? -%>
gem 'web-console', github: 'rails/web-console'
<%- else -%>