1. 07 8月, 2016 4 次提交
  2. 31 7月, 2016 1 次提交
  3. 27 7月, 2016 2 次提交
  4. 21 7月, 2016 1 次提交
    • G
      Enforce minimal web-console version for Rails 5 · e072db77
      Genadi Samokovarov 提交于
      I dropped the version constraint in web-console with the idea it will be
      easier to upgrade the console between Rails releases. However, issues
      like #25899 started popping up.
      
      I'm reintroducing the constraint, but this time, I don't set an upper
      limit to the major version. This will keep the web-console in a version
      that always works for the current Rails version and can be easily
      upgraded to the last one with `bundle update`.
      
      We may need to backport this for Rails 5.0.1.
      
      Fixes #25899.
      e072db77
  5. 17 7月, 2016 1 次提交
  6. 14 7月, 2016 1 次提交
  7. 12 7月, 2016 1 次提交
  8. 10 7月, 2016 1 次提交
  9. 08 7月, 2016 2 次提交
  10. 06 7月, 2016 1 次提交
  11. 05 7月, 2016 4 次提交
  12. 04 7月, 2016 1 次提交
  13. 02 7月, 2016 2 次提交
  14. 01 7月, 2016 1 次提交
  15. 20 6月, 2016 1 次提交
  16. 19 6月, 2016 1 次提交
    • P
      Fix failing railties tests · acad62bc
      Prathamesh Sonpatki 提交于
      - Railties tests related to fetching asset URL started failing after the
        release of sprockets 3.6.1 on Travis.
      - This was due to the change in
        https://github.com/rails/sprockets/pull/311/files
        which changed the logic in `concat_javascript_sources` to add `;` at
        the end of file if the source did not end with semicolon.
      - Bumped up sprockets minor version and fixed the failing tests.
      acad62bc
  17. 14 6月, 2016 1 次提交
  18. 12 6月, 2016 1 次提交
  19. 08 6月, 2016 3 次提交
    • W
      Generate application_record.rb file before model file · b991017b
      Wojciech Wnętrzak 提交于
      Previously model file was generated first, which resulted in
      inheriting from `ActiveRecord::Base`, but since application_record.rb
      is generated as well, it should already be used.
      b991017b
    • J
      Prevent `{ internal: true }` from being stored in the router · 20ab1bf4
      Jon Moss 提交于
      Forgotten followup to #23669 😬
      
      If you went to an internal route (e.g. `/rails/info/routes`), you would
      previously see the following in your logger:
      
      ```bash
      Processing by Rails::InfoController#routes as HTML
        Parameters: {"internal"=>true}
        Rendering /Users/jon/code/rails/rails/railties/lib/rails/templates/rails/info/routes.html.erb within layouts/application
        Rendered collection of /Users/jon/code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/routes/_route.html.erb [2 times] (10.5ms)
        Rendered /Users/jon/code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.5ms)
        Rendered /Users/jon/code/rails/rails/railties/lib/rails/templates/rails/info/routes.html.erb within layouts/application (23.5ms)
      Completed 200 OK in 50ms (Views: 35.1ms | ActiveRecord: 0.0ms)
      ```
      
      Now, with this change, you would see:
      
      ```bash
      Processing by Rails::InfoController#routes as HTML
        Rendering /Users/jon/code/rails/rails/railties/lib/rails/templates/rails/info/routes.html.erb within layouts/application
        Rendered collection of /Users/jon/code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/routes/_route.html.erb [2 times] (1.6ms)
        Rendered /Users/jon/code/rails/rails/actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.2ms)
        Rendered /Users/jon/code/rails/rails/railties/lib/rails/templates/rails/info/routes.html.erb within layouts/application (17.4ms)
      Completed 200 OK in 44ms (Views: 28.0ms | ActiveRecord: 0.0ms)
      ```
      20ab1bf4
    • P
      Fix API controller tests by assigning them the encoding type · d68562e3
      Prathamesh Sonpatki 提交于
      - Fixes #25183.
      - The `as: :json` feature was added in
        https://github.com/rails/rails/pull/21671 and recommended to use for
        JSON endpoints so let's use it by default for API controller tests.
      d68562e3
  20. 07 6月, 2016 1 次提交
  21. 04 6月, 2016 1 次提交
    • P
      Fix minor regression about old apps not getting per_form_csrf and... · a7adec93
      Prathamesh Sonpatki 提交于
      Fix minor regression about old apps not getting per_form_csrf and request_forgery_protection configs
      
      - Earlier per_form_csrf_tokens and request_forgery_protection config
        files were generated for old apps upgraded to Rails 5.
      - But when we collapsed all initializers into one file, the entire file
        does not get created for old apps.
      - This commit fixes it and also changes values for all new defaults for
        old apps so that they will not break.
      - Also added a test for `rails app:update`.
      a7adec93
  22. 02 6月, 2016 1 次提交
  23. 01 6月, 2016 1 次提交
  24. 29 5月, 2016 3 次提交
  25. 28 5月, 2016 1 次提交
  26. 21 5月, 2016 1 次提交
  27. 18 5月, 2016 1 次提交
    • J
      `md5` --> `MD5` · 9cd790d7
      Jon Moss 提交于
      Sorry, I missed a few places in my last PR. This should be the last of
      'em 😬
      9cd790d7