title: Cannot understand rails deprecation warning for secret_token
body: <p>After upgrading from <code>rails 5.1</code> to <code>rails 5.2.3</code> I am getting this deprecation warning:</p>
  
  <pre><code>secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from &lt;main&gt; at /config/initializers/stripe.rb:3
  </code></pre>
  
  <p>If I look at the stripe initializer, I have:</p>
  
  <pre><code>Rails.configuration.stripe = {
    publishable_key: Rails.application.secrets.stripe_publishable_key,
    secret_key:      Rails.application.secrets.stripe_secret_key
  }
  </code></pre>
  
  <p>so there is no mention of <code>secret.token</code>. If I look at <code>config.secrets.yml</code> I have</p>
  
  <pre><code>test:
    secret_key_base: some-key
    stripe_secret_key: another_key
    stripe_publishable_key: yet_another_key
  </code></pre>
  
  <p>So why am I getting the deprecation warning?</p>