- 09 6月, 2016 1 次提交
-
-
由 Yasuo Honda 提交于
-
- 08 6月, 2016 14 次提交
-
-
由 David Heinemeier Hansson 提交于
Add Action Cable introduction to release notes
-
由 Sean Griffin 提交于
`{ internal: true }` from being stored in the router
-
由 Vipul A M 提交于
-
由 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) ``` -
由 Kasper Timm Hansen 提交于
Fix API controller tests by assigning them the encoding type
-
由 Kasper Timm Hansen 提交于
reference actual class to use middleware
-
由 Kasper Timm Hansen 提交于
Was worried the `as` might impede on users doing the long form JSON response encoding; test for certainty.
-
由 Sean Griffin 提交于
Use `#performed?` to terminate controller callbacks
-
由 Sean Griffin 提交于
This test was broken by f650e032. It was added by https://github.com/rails/rails/pull/17978, and is adequately tested elsewhere. The reason that this breaks is that `Controller#process` is not going to set a new response object, and we now terminate in callbacks if the response has been sent. The only reason that this test was calling `get` in the first place was because the controller under test blows up if `request` was `nil`. The point being that the failure is invalid, and I don't think we need to fix the test in this location.
-
由 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.
-
由 Kasper Timm Hansen 提交于
Since Ruby 2.4 isn't out yet, the fact that it will make `to_time` preserve the time zone should be toggled with a update flag. Second, remove the flipping on what version had what defaults. It's called new framework defaults, so it's from the future looking. Thus keep the line that mentions past versions.
-
由 Sean Griffin 提交于
More cleanup of new framework defaults
-
由 Kasper Timm Hansen 提交于
Improve Hash#compact! documentation and tests
-
由 Prathamesh Sonpatki 提交于
-
- 07 6月, 2016 8 次提交
-
-
由 Vipul A M 提交于
Do not suggest nonsensical OpenSSL verify modes
-
由 Sean Griffin 提交于
Require Nokogiri >= 1.6.8
-
由 Prathamesh Sonpatki 提交于
- Adjusted tests instead.
-
由 Jonne Haß 提交于
SSL_set_verify(3) explains: SSL_VERIFY_FAIL_IF_NO_PEER_CERT Server mode: if the client did not return a certificate, the TLS/SSL handshake is immediately terminated with a "handshake failure" alert. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored SSL_VERIFY_CLIENT_ONCE Server mode: only request a client certificate on the initial TLS/SSL handshake. Do not ask for a client certificate again in case of a renegotiation. This flag must be used together with SSL_VERIFY_PEER. Client mode: ignored The SMTP connection here uses a OpenSSL socket in client mode, suggesting invalid/ignored flags is rather misleading.
-
由 Jon Moss 提交于
per security release today --> https://groups.google.com/forum/#!topic/ruby-security-ann/RCHyF5K9Lbc
-
由 Vipul A M 提交于
Change doc for race_condition_ttl option of ActiveSupport::Cache::Sto… [ci skip]
-
由 Jeremy Daer 提交于
Action Cable: Fix CI tests on Sauce Labs
-
由 David Heinemeier Hansson 提交于
Add backticks to `ActiveRecord::Base.where`
-
- 06 6月, 2016 6 次提交
-
-
由 प्रथमेश Sonpatki 提交于
[ci skip] Update redirecting links in guides
-
由 Alex Kitchens 提交于
-
由 Dimitris Zorbas 提交于
The related option of this method, `expires_in` is documented as expecting an `ActiveSupport::Duration` value. To minimize any sort of ambiguity between duration options, this change also documents `race_condition_ttl` accepting `ActiveSupport::Duration`.
-
由 Vipul A M 提交于
Fix a typo in `time_field` [ci skip]
-
由 Jake Worth 提交于
-
由 Vipul A M 提交于
Added some useful configuration options into configuring.md [ci skip]
-
- 05 6月, 2016 4 次提交
-
-
由 Javan Makhmali 提交于
-
由 Kasper Timm Hansen 提交于
Trim Action Cable README [ci skip]
-
由 Prathamesh Sonpatki 提交于
- Only Action Cable README did not have this section, all of the other READMEs have this section.
-
由 Prathamesh Sonpatki 提交于
- Remove "Configuration", "Running the server", "Dependencies" and "Deployment" sections from the Action Cable README as they are already duplicated in the Action Cable overview guide.
-
- 04 6月, 2016 7 次提交
-
-
由 Jon Moss 提交于
[ci skip]
-
由 Prathamesh Sonpatki 提交于
Update the documentation of new_framework_defaults file with more details about old apps and how you can upgrade to new defaults. [Kasper Timm Hansen, Prathamesh Sonpatki]
-
由 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`.
-
由 Prathamesh Sonpatki 提交于
- Move real new default options to the top of the file. - After that club together all the options which were added to keep backward compatibility. So all of them will get only one header. - Based on https://github.com/rails/rails/pull/25231#issuecomment-222945173.
-
由 Jon Moss 提交于
[ci skip] Fix link rubyonrails.org/core => http://rubyonrails.org/community
-
-
由 Jon Moss 提交于
[ci skip] Remove Pratik Naik from Rails core team info.
-