aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAlberto Almagro <albertoalmagro@gmail.com>2018-06-27 18:23:33 +0200
committerAlberto Almagro <albertoalmagro@gmail.com>2018-07-06 22:46:53 +0200
commit9c3748a648181fd4474bf0b7ab87a05b58e3ef8e (patch)
treee84f020a0274fefc5d24988ef83dfdb3d3328a94 /activesupport
parent40b209db53796ae515387d0fee2a525872eb2ae4 (diff)
downloadrails-9c3748a648181fd4474bf0b7ab87a05b58e3ef8e.tar.gz
rails-9c3748a648181fd4474bf0b7ab87a05b58e3ef8e.tar.bz2
rails-9c3748a648181fd4474bf0b7ab87a05b58e3ef8e.zip
Fix typo 'in via'
Substitutes 'in via' for 'by running'
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/key_generator.rb2
1 files changed, 1 insertions, 1 deletions
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