- 03 10月, 2015 6 次提交
-
-
由 Wojciech Wnętrzak 提交于
-
由 Kasper Timm Hansen 提交于
use class to specify the middleware [ci skip]
-
由 yuuji.yaginuma 提交于
using string for middleware class names is deprecated in 83b767ce
-
由 Aaron Patterson 提交于
The runtime header is a potential target for timing attacks since it returns the amount of time spent on the server (eliminating network speed). Total time is also not accurate for streaming responses. The middleware can be added back via: ```ruby config.middleware.ues ::Rack::Runtime ```
-
由 Rafael Mendonça França 提交于
Do not document private methods in AJ::TestHelper
-
由 Wojciech Wnętrzak 提交于
[CI skip]
-
- 02 10月, 2015 21 次提交
-
-
由 Sean Griffin 提交于
[ci skip] Fix explanation of `ActiveModel::Serialization`
-
由 Sean Griffin 提交于
Remove unused scopes
-
由 Sean Griffin 提交于
For reads, we never need to construct this object. The double `defined?` check is to avoid errors in tests
-
由 Andrew White 提交于
TimeWithZone#xmlschema should be able to display more than 6 digits
-
由 Sean Griffin 提交于
Fix AC::Parameters not being sanitized for query methods.
-
由 Sean Griffin 提交于
I misread this test in https://github.com/rails/rails/commit/1a693c79c32cba070256fdb7bd1990c3d07d554f
-
由 Sean Griffin 提交于
There were a few places where I missed a `create` vs `new` before_type_cast check, and the semantics of `reload` became wrong.
-
由 Sean Griffin 提交于
We can skip the allocation of a full `AttributeSet` by changing the semantics of how we structure things. Instead of comparing two separate `AttributeSet` objects, and `Attribute` is now a singly linked list of every change that has happened to it. Since the attribute objects are immutable, to apply the changes we simply need to copy the head of the list. It's worth noting that this causes one subtle change in the behavior of AR. When a record is saved successfully, the `before_type_cast` version of everything will be what was sent to the database. I honestly think these semantics make more sense, as we could have just as easily had the DB do `RETURNING *` and updated the record with those if we had things like timestamps implemented at the DB layer. This brings our performance closer to 4.2, but we're still not quite there.
-
由 Guo Xiang Tan 提交于
-
由 Jeremy Daer 提交于
Response#add_header for adding to multi-valued headers like Vary
-
由 Jeremy Daer 提交于
-
由 Andy Atkinson 提交于
-
由 yui-knk 提交于
This explanation was change by https://github.com/rails/rails/commit/7a27de2b. This change reversed the including module (`ActiveModel::Serializers::JSON`) and the included module (`ActiveModel::Serialization`) by mistake.
-
由 Jeremy Daer 提交于
Don't set a nil Set-Cookie header when there aren't any cookies
-
由 Jeremy Daer 提交于
-
由 Kasper Timm Hansen 提交于
adding test for content type with default charset
-
由 Gaurav Sharma 提交于
* first test is for `default_charset` i.e `ActionDispatch::Response.default_charset = “utf-8”` * In below test we are passing `ActionDispatch::Response.default_charset = 'utf-16’` so name of the test is irrelevant — “read content type without charset”
-
由 Arthur Nogueira Neves 提交于
Regex fix for mattr_accessor validation
-
由 Aliaksandr Buhayeu 提交于
Change ^ and $ operators to \A and \z to prevent code injection after the line breaks
-
由 Kasper Timm Hansen 提交于
Refactor AS::Callbacks halt config and fix the documentation
-
由 Roque Pinel 提交于
Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a81
-
- 01 10月, 2015 6 次提交
-
-
由 Kasper Timm Hansen 提交于
Added test cases for checkbox_tag
-
由 Prakash Laxkar 提交于
-
由 Aaron Patterson 提交于
this should fix the error where isolation tests raise an exception and we just get a marshal error
-
由 Kasper Timm Hansen 提交于
Add test cases for text_field_tag
-
由 Akshay Vishnoi 提交于
-
由 Aaron Patterson 提交于
-
- 30 9月, 2015 7 次提交
-
-
由 Aaron Patterson 提交于
-
由 Fumiaki MATSUSHIMA 提交于
-
由 Yves Senn 提交于
Allow fixtures YAML files to set the model class in the file itself Conflicts: activerecord/CHANGELOG.md
-
由 Kasper Timm Hansen 提交于
Fixed concurrent-ruby warnings.
-
由 Jerry D'Antonio 提交于
Bumped version of concurrent-ruby to 1.0.0.pre3, which fixes all interpreter warnings.
-
由 Jeremy Daer 提交于
-
由 Aaron Patterson 提交于
`default_middleware_stack` seems to kick off the `on_load` calls that may mutate the middleware stack. We have to call that method before merging middleware stacks, otherwise the middleware stacks get mutated *after* the app middleware stack is built.
-