From 6cfe8a2abb6121617286c0931ca723cadfc9e98f Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 7 Aug 2015 08:38:59 -0400 Subject: [PATCH] Remove redundant console line from Workbench install guide. No issue #. --- doc/install/install-workbench-app.html.textile.liquid | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid index 5fc41114a6..491f8c8245 100644 --- a/doc/install/install-workbench-app.html.textile.liquid +++ b/doc/install/install-workbench-app.html.textile.liquid @@ -187,9 +187,8 @@ Next, we're going to use the rails console on the API server to
/var/www/arvados-api/current$ RAILS_ENV=production bundle exec rails console
 irb(main):001:0> Thread.current[:user] = User.all.select(&:identity_url).last
-irb(main):002:0> Thread.current[:user].is_admin = true
-irb(main):003:0> Thread.current[:user].update_attributes is_admin: true, is_active: true
-irb(main):004:0> User.where(is_admin: true).collect &:email
+irb(main):002:0> Thread.current[:user].update_attributes is_admin: true, is_active: true
+irb(main):003:0> User.where(is_admin: true).collect &:email
 => ["root", "your_address@example.com"]
 
-- 2.30.2