1. 14 4月, 2016 1 次提交
  2. 14 3月, 2016 1 次提交
  3. 28 2月, 2016 3 次提交
  4. 26 2月, 2016 1 次提交
  5. 13 2月, 2016 1 次提交
  6. 12 2月, 2016 3 次提交
  7. 03 2月, 2016 1 次提交
  8. 27 1月, 2016 1 次提交
  9. 22 12月, 2015 1 次提交
  10. 21 12月, 2015 1 次提交
  11. 17 12月, 2015 2 次提交
  12. 16 12月, 2015 1 次提交
  13. 05 11月, 2015 1 次提交
    • K
      Replace `serve_static_files` mentions in docs. · b7f547e6
      Kasper Timm Hansen 提交于
      Should use `public_file_server.enabled` instead.
      
      Clarified that static files will be served from the public directory, where it made sense.
      
      Also removed occurrence of the deprecated `static_cache_control`.
      b7f547e6
  14. 01 11月, 2015 1 次提交
  15. 02 10月, 2015 1 次提交
  16. 16 9月, 2015 1 次提交
  17. 14 9月, 2015 1 次提交
  18. 06 9月, 2015 1 次提交
  19. 07 8月, 2015 1 次提交
  20. 26 5月, 2015 1 次提交
  21. 20 5月, 2015 1 次提交
  22. 04 5月, 2015 1 次提交
  23. 02 5月, 2015 1 次提交
  24. 28 4月, 2015 1 次提交
  25. 15 4月, 2015 1 次提交
    • J
      Fix typos and improve the documentation · 6345f31f
      Jon Atack 提交于
      This is a squash of the following commits, from first to last:
      
      -
      
      Fix minor, random things I’ve come across lately that individually
      did not seem worth making a PR for, so I saved them for one commit.
      
      One common error is using “it’s” (which is an abbreviation of “it is”)
      when the possessive “its” should be used for indicating possession.
      
      -
      
      Changes include the name of a test, so remove the `[skip ci]` (thanks @senny).
      
      -
      
      Line wrap the changes at 80 chars and add one more doc fix.
      
      -
      
      Add a missing line wrap in the Contributing to Ruby on Rails Guide.
      
      -
      
      Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well.
      
      Rendering the guide locally with `bundle exec rake guides:generate` did
      not show any change in on-screen formatting after adding the line wrap.
      
      The HTML generated is (extra line added to illustrate where the line
      wrap takes place):
      
          <div class="info"><p>Please squash your commits into a single commit
      when appropriate. This
      
          simplifies future cherry picks and also keeps the git log
      clean.</p></div>
      
      -
      
      Squash commits.
      6345f31f
  26. 14 4月, 2015 1 次提交
  27. 05 4月, 2015 1 次提交
  28. 24 3月, 2015 1 次提交
  29. 08 3月, 2015 1 次提交
  30. 11 2月, 2015 1 次提交
  31. 01 2月, 2015 1 次提交
  32. 14 1月, 2015 1 次提交
  33. 03 1月, 2015 1 次提交
    • C
      Add config to halt callback chain on return false · 9c65c539
      claudiob 提交于
      This stems from [a comment](rails#17227 (comment)) by @dhh.
      In summary:
      
      * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning.
      * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning.
      
      For this purpose, this commit introduces a Rails configuration option:
      
      ```ruby
      config.active_support.halt_callback_chains_on_return_false
      ```
      
      For new Rails 5.0 apps, this option will be set to `false` by a new initializer
      `config/initializers/callback_terminator.rb`:
      
      ```ruby
      Rails.application.config.active_support.halt_callback_chains_on_return_false = false
      ```
      
      For existing apps ported to Rails 5.0, the initializers above will not exist.
      Even running `rake rails:update` will not create this initializer.
      
      Since the default value of `halt_callback_chains_on_return_false` is set to
      `true`, these apps will still accept `return true` as a way to halt callback
      chains, displaying a deprecation warning.
      
      Developers will be able to switch to the new behavior (and stop the warning)
      by manually adding the line above to their `config/application.rb`.
      
      A gist with the suggested release notes to add to Rails 5.0 after this
      commit is available at https://gist.github.com/claudiob/614c59409fb7d11f2931
      9c65c539
  34. 02 1月, 2015 1 次提交
  35. 29 12月, 2014 1 次提交