1. 25 11月, 2014 2 次提交
  2. 23 11月, 2014 5 次提交
  3. 21 11月, 2014 1 次提交
  4. 19 11月, 2014 1 次提交
  5. 17 11月, 2014 4 次提交
  6. 16 11月, 2014 1 次提交
  7. 11 11月, 2014 1 次提交
  8. 05 11月, 2014 1 次提交
  9. 04 11月, 2014 1 次提交
  10. 03 11月, 2014 1 次提交
    • B
      `secret_token` is now saved in `Rails.application.secrets.secret_token` · db5f1a46
      Benjamin Fleischer 提交于
      - `secrets.secret_token` is now used in all places `config.secret_token` was
        - `secrets.secret_token`, when not present in `config/secrets.yml`,
          now falls back to the value of `config.secret_token`
        - when `secrets.secret_token` is set, it over-writes
          `config.secret_token` so they are the same (for backwards-compatibility)
        - Update docs to reference app.secrets in all places
          - Remove references to `config.secret_token`, `config.secret_key_base`
      - Warn that missing secret_key_base is deprecated
      - Add tests for secret_token, key_generator, and message_verifier
        - the legacy key generator is used with the message verifier when
          secrets.secret_key_base is blank and secret_token is set
        - app.key_generator raises when neither secrets.secret_key_base nor
          secret_token are set
        - app.env_config    raises when neither secrets.secret_key_base nor
          secret_token are set
      - Add changelog
      
      Run focused tests via
      ruby -w -Itest test/application/configuration_test.rb -n '/secret_|key_/'
      db5f1a46
  11. 30 10月, 2014 1 次提交
  12. 29 10月, 2014 4 次提交
    • X
      edit pass over all warnings · e595d91a
      Xavier Noria 提交于
      This patch uniformizes warning messages. I used the most common style
      already present in the code base:
      
      * Capitalize the first word.
      
      * End the message with a full stop.
      
      * "Rails 5" instead of "Rails 5.0".
      
      * Backticks for method names and inline code.
      
      Also, converted a few long strings into the new heredoc convention.
      e595d91a
    • X
      let's warn with heredocs · b3bfa361
      Xavier Noria 提交于
      The current style for warning messages without newlines uses
      concatenation of string literals with manual trailing spaces
      where needed.
      
      Heredocs have better readability, and with `squish` we can still
      produce a single line.
      
      This is a similar use case to the one that motivated defining
      `strip_heredoc`, heredocs are super clean.
      b3bfa361
    • G
      Typos in the deprecation message · 777142d3
      Godfrey Chan 提交于
      777142d3
    • G
      Deprecate the `only_path` option on `*_path` helpers. · aa1fadd4
      Godfrey Chan 提交于
      In cases where this option is set to `true`, the option is redundant and can
      be safely removed; otherwise, the corresponding `*_url` helper should be
      used instead.
      
      Fixes #17294.
      
      See also #17363.
      
      [Dan Olson, Godfrey Chan]
      aa1fadd4
  13. 24 10月, 2014 1 次提交
  14. 21 10月, 2014 1 次提交
  15. 20 10月, 2014 2 次提交
  16. 16 10月, 2014 1 次提交
  17. 15 10月, 2014 1 次提交
  18. 14 10月, 2014 2 次提交
  19. 13 10月, 2014 1 次提交
  20. 11 10月, 2014 1 次提交
  21. 09 10月, 2014 1 次提交
  22. 30 9月, 2014 1 次提交
  23. 29 9月, 2014 1 次提交
  24. 26 9月, 2014 3 次提交
  25. 25 9月, 2014 1 次提交