From 9c3748a648181fd4474bf0b7ab87a05b58e3ef8e Mon Sep 17 00:00:00 2001
From: Alberto Almagro <albertoalmagro@gmail.com>
Date: Wed, 27 Jun 2018 18:23:33 +0200
Subject: Fix typo 'in via'

Substitutes 'in via' for 'by running'
---
 activesupport/lib/active_support/key_generator.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'activesupport')

diff --git a/activesupport/lib/active_support/key_generator.rb b/activesupport/lib/active_support/key_generator.rb
index cee89f0ed7..00edcdd05a 100644
--- a/activesupport/lib/active_support/key_generator.rb
+++ b/activesupport/lib/active_support/key_generator.rb
@@ -59,7 +59,7 @@ module ActiveSupport
         if secret.blank?
           raise ArgumentError, "A secret is required to generate an integrity hash " \
             "for cookie session data. Set a secret_key_base of at least " \
-            "#{SECRET_MIN_LENGTH} characters in via `rails credentials:edit`."
+            "#{SECRET_MIN_LENGTH} characters by running `rails credentials:edit`."
         end
 
         if secret.length < SECRET_MIN_LENGTH
-- 
cgit v1.2.3